Redux: Qualify types as necessary in errors and warnings#4409
Redux: Qualify types as necessary in errors and warnings#4409MonoidMusician wants to merge 12 commits intomasterfrom
Conversation
|
General design questions/notes:
I might end up putting item 2 into its own PR, so at least the obvious “Could not match type |
|
It might help to disallow importing modules as |
|
The issue of global modules that haven't been imported locally yet also rears its head in IDE suggestions: because you can only have one span for suggestions, you can't suggest a type and also suggest imports for that type. So we can only have suggestions that actually work if all of the types already are in scope. |
There's no reason this can't be a thing, we can easily extend suggestions to have additional edits |
Continuing from #4337. Just fixed merge conflicts so far.
Checklist: