| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
General design questions/notes:
I might end up putting item 2 into its own PR, so at least the obvious “Could not match type List with List” errors get improved … perhaps we want to only show the modules when the constructor names are the same, but I committed this version that always shows it just so we can see what's possible. |
Sorry, something went wrong.
|
It might help to disallow importing modules as Prim. It seems that it already results in a warning, due to the implicit import import Prim as Prim given to every module: Module Prim was imported as Prim with unspecified imports.
As there are multiple modules being imported as Prim, consider using the explicit form:
import Prim (Function, Record) as Prim
|
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
There's no reason this can't be a thing, we can easily extend suggestions to have additional edits |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Continuing from #4337. Just fixed merge conflicts so far.
Checklist: