Suggest types - fixes #1446#1449
Conversation
forki
commented
Aug 16, 2016

45f1d7d to
69a2545
Compare
|
@forki |
|
Yep I'm on it |
90c033c to
ed6f731
Compare
|
@enricosada @KevinRansom this is a bit tricky. the build doesn't come to neg2 test on my machine because other stuff is failing. So I can't really check what's wrong. |
src/fsharp/NameResolution.fs
Outdated
There was a problem hiding this comment.
@forki
The AtMostResult indicates that this error can produce a message more than once:
Indeed the error messages produced in the failing neg2 testcase looks like this:
neg2.fsx(3,59,3,66): typecheck error FS3033: The type provider 'Provider.GoodProviderForNegativeTypeTests1' reported an error: Kaboom
neg2.fsx(3,59,3,66): typecheck error FS3033: The type provider 'Provider.GoodProviderForNegativeTypeTests1' reported an error: Kaboom
neg2.fsx(3,59,3,66): typecheck error FS0039: The value, constructor, namespace or type 'TheHype' is not defined
Maybe you want one of the following:
TheType
There was a problem hiding this comment.
AtMostOneResult was moved to line 2025. but thanks for the test report. I will try to fix that.
|
ok this is ready for review |
|
@forki Thanks for taking care of this : The text "Maybe you want pne of the following" seems hokey to me. Could we consider changing it to something more like "Consider one of the following:" Kevin |
|
Yes we should change that. I'm not native speaker so I hope others find a Am 23.08.2016 10:12 nachm. schrieb "Kevin Ransom (msft)" <
|