-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
INTERNAL ERROR when using :=
assignment expression
#9054
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
Comments
This is a pretty bad crash, since the example looks fairly straightforward. |
Quick note to self: if you reverse the order of EDIT: deleted another sentence about |
This seems to be the same stacktrace as #9034 |
Switching the order fixes that one too. |
@Apakottur thanks for reporting! And thanks to llchan this should be fixed on master :-) I was wondering if the code you're working on is open source? My interest is in adding projects to https://github.com/hauntsaninja/mypy_primer that use newer Python features. |
@hauntsaninja The code w're working on is not yet open source, but we plan on making some of it OS in the future. In any case it is important to mention that we're only using |
To reproduce the bug, run
mypy
with the following command:Where the contents of
test.py
are:Here is the traceback that I get:
mypy 0.790+dev.6ee562a8f3e69ac134f8c501b79b3712c9e24bbd
Python 3.8.2
The text was updated successfully, but these errors were encountered: