You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe that no module are loaded in Intero, and that g:intero_load_targets = []
Run :InteroSetTargets and select nothing.
Intero will restart and load all the modules, and g:intero_load_targets will list all of them.
Expected behaviour:
All the modules should be loaded even if none are specified.
Additional notes:
This is likely a bug in Stack, since stack ghci --help says that all modules should be loaded if none are specified
We could workaround this by invoking the same logic as InteroSetTargets on startup, but this is quite expensive (1.7 sec), so it would be preferable to fix this upstream
it's not obvious why this is so expensive, when it should just be parsing the cabal file. This may be worth investigating.
Stack version:
Version 1.5.1, Git revision 776b55f2281e41e89b926eaa529a54a7f4ad20bb (5079 commits) x86_64 hpack-0.17.1
(This is from master, so I should probably repro on a released version)
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
g:intero_load_targets = []
:InteroSetTargets
and select nothing.g:intero_load_targets
will list all of them.Expected behaviour:
All the modules should be loaded even if none are specified.
Additional notes:
stack ghci --help
says that all modules should be loaded if none are specifiedInteroSetTargets
on startup, but this is quite expensive (1.7 sec), so it would be preferable to fix this upstreamStack version:
Version 1.5.1, Git revision 776b55f2281e41e89b926eaa529a54a7f4ad20bb (5079 commits) x86_64 hpack-0.17.1
(This is from master, so I should probably repro on a released version)
The text was updated successfully, but these errors were encountered: