-
Notifications
You must be signed in to change notification settings - Fork 825
Improve error reporting: ambiguous override method in object expression #16985
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
Conversation
❗ Release notes required
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it makes things better.
The original issue says that for some reason FSI was reporting different error - did you manage to figure out that discrepancy? What does it show now?
@psfinaki Yeah I tried running this on ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alrighty, thanks!
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, thanks
More coming :) . This was raised by some students in one of our AmplifyingF# Essential lectures. See https://amplifyingfsharp.io/fsharp-essentials/ |
Description
Fixes #1429
Before
(Error 358, Line 7, Col 5, Line 9, Col 48, "The override for 'Overloaded: int -> bool' was ambiguous")
After
(Error 358, Line 8, Col 19, Line 8, Col 29, "The override for 'Overloaded: int -> bool' was ambiguous")
Rationale:
Alternative:
Checklist