-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect ParseError for type comment in unexpected location #53
Comments
You need the Maybe we need a |
Only But I'm also fine with just working around this in typeshed by moving the |
Moving |
Oh, that's unfortunate. But I do think that this is not just a mypy-specific thing. Liskov substitutability is taken pretty seriously by PEP 484. (It's the reason we have to declare variance.) |
Fair enough. We'll add |
See #53 -- PiperOrigin-RevId: 151180634 MOS_MIGRATED_REVID=151180634
Fix pushed. |
From https://travis-ci.org/python/typeshed/jobs/212532837:
Type comments should be allowed here.
The text was updated successfully, but these errors were encountered: