-
Notifications
You must be signed in to change notification settings - Fork 844
forward warnings when searching for a method overload #4481
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
dsyme
left a comment
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.
This looks good and I'm glad to see you found the cause of the issue.
Just one main comment - any reason you're not using a negNN.fs test?
tests/fsharp/tests.fs
Outdated
|
|
||
| [<Test>] | ||
| let ``typeinferenceWarning`` () = | ||
| let cfg = testConfig "core/typeinferenceWarning" |
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.
Normally we'd add a negNN.fs test for such a case? Is there any reason not to be doing that?
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.
Reason is that I have no idea what I’m doing but I still wanted to add a test ;)
Is there docs around that or can someone help?
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.
What is "negNN"?
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.
typecheck/sigs/neg101.fs etc. for example
|
@dsyme Thanks, this makes the test-code a bit simpler :) |
|
@dsyme Ok I think this is ready. |
|
@matthid Thanks for this |
fixes #3752