cabal
cabal copied to clipboard
repl -b option is missing tests
There are quite a few nuances to the repl -b option, adding some tests for the feature would be a good first contribution.
1: Does it work in a project context?
2. What happens in a script context?
3. Does it work with multi-repl (I imagine the answer is no)
4. Does -b bring the whole transitive closure of the dependency into scope, or just the specified package?
5. Does the --no-transitive-deps option work?
From experience (testing xmonad stuff at the repl), the answer to (4) is "no".