-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Daemon issues with retargeting re-exported names #6548
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
There is a related seeming bug with NamedTuples whose names don't match their line numbers:
Fails with Here it is also arguably a bug that the names get messed up like that, but it works if there is not a re-export... |
I think I was also hit by this recently. I raise the priority to high, since this is a relatively large area where daemon's behavior is problematic. |
This lets us avoid inserting line numbers into the name when the variable name and argument to NamedTuple disagree. This is good, because the line numbers are ugly and when combined with bug #6548 causes problems when a namedtuple is reexported.
This lets us avoid inserting line numbers into the name when the variable name and argument to NamedTuple disagree. This is good, because the line numbers are ugly and when combined with bug #6548 causes problems when a namedtuple is reexported.
This lets us avoid inserting line numbers into the name when the variable name and argument to NamedTuple disagree. This is good, because the line numbers are ugly and when combined with bug #6548 causes problems when a namedtuple is reexported.
This lets us avoid inserting line numbers into the name when the variable name and argument to NamedTuple disagree. This is good, because the line numbers are ugly and when combined with bug #6548 causes problems when a namedtuple is reexported.
This lets us avoid inserting line numbers into the name when the variable name and argument to NamedTuple disagree. This is good, because the line numbers are ugly and when combined with bug #6548 causes problems when a namedtuple is reexported.
Consider the following test:
The daemon fails in step two with the error
Argument 1 to "f" has incompatible type "q.M"; expected "n.M"
The text was updated successfully, but these errors were encountered: