-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 conflict explanation for type error messages #10800
Comments
Are you saying you want ... diffs for arrow types errors ? :D |
I think that the issue at hand is the conflict explanation that points twice to the exact same location which is not exactly helpful. |
Indeed, if you look at the location it becomes obvious that the issue is not with |
A simple solution in this specific case would be to not differentiate identifiers which points to a declaration with the same uid. |
Two remarks:
|
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc. |
The following test:
Gives the following error on 4.13:
which I find misleading.
On 4.14, it prints:
which is undeniably better (and I would guess a result of #10407 ).
This was reported by @dinosaure after spending hours trying to fix:
(where it's somewhat harder to notice that the compiler points you in the wrong direction).
The text was updated successfully, but these errors were encountered: