================
@@ -234,9 +241,9 @@ class CachedProperty(Generic[TInstance, TResult]):
"""
def __init__(self, wrapped: Callable[[TInstance], TResult]):
- self.wrapped = wrapped
+ self.wrapped: Callable[[TInstance], TResult] = wrapped
----------------
Endilll wrote:
Why do we need to repeat this long and complicated type when it's spelled on
the previous line?
https://github.com/llvm/llvm-project/pull/173845
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits