We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Inferring the type of lambda x: (x, (lambda: x)()) with, say, int, should return Tuple[int, int], but instead returns Tuple[type, type].
lambda x: (x, (lambda: x)())
int
Tuple[int, int]
Tuple[type, type]
I suspect this is in an issue with load_closure storing the constant int rather than recording the stored value is of type int.
Priority: 3 (minor)
The text was updated successfully, but these errors were encountered:
cc: @jrmccluskey
Sorry, something went wrong.
No branches or pull requests
What happened?
Inferring the type of
lambda x: (x, (lambda: x)())
with, say,int
, should returnTuple[int, int]
, but instead returnsTuple[type, type]
.I suspect this is in an issue with load_closure storing the constant
int
rather than recording the stored value is of typeint
.Issue Priority
Priority: 3 (minor)
Issue Components
The text was updated successfully, but these errors were encountered: