This was reported by Agustin Barto:
class A1:
pass
class B:
a1 = None # type: A1 # Works fine
class C:
A1 = None # type: A1 # Complains about Invalid type "A1"
A1Alias = A1
class D:
A1 = None # type: A1Alias # Works
I wonder if the body of C
should be valid?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4