haskell / haskell/haskell-mode
Should use --repl-options for cabal repl in haskell-interactive-mode
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
Currently GHCi is passed `--ghc-option=-ferror-spans` for the additional arguments for the `cabal repl` invocation, but since 3.4 the v2 repl (default) does not have `--ghc-option=` work reliably, e.g. in you can see:
>To avoid ghci specific flags from triggering unneeded global rebuilds these flags are now stripped from the internal configuration. As a result `--ghc-options` will no longer (reliably) work to pass flags to ghci (or other repls). Instead, you should use the new `--repl-options` flag to specify these options to the invoked repl.
Shouldn't the option be changed to `--repl-options` in haskell-interactive-mode?
Contributor guide
Assessment
This issue has not been assessed yet.