================
@@ -668,43 +667,43 @@ class CursorKind(BaseEnumeration):
"""
@staticmethod
- def get_all_kinds():
+ def get_all_kinds() -> list[CursorKind]:
----------------
DeinAlptraum wrote:
Hmm interesting. I just tested this with mypy in the python 3.8 environment I
used during type annotation (for compatibility, and it doesn't seem to be an
issue anymore (e.g. #78114 passes a strcit mypy type-check with the Python3.8
version)
https://github.com/llvm/llvm-project/pull/173845
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits