File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,11 @@ HPTYPE is the result of calling `'haskell-process-type`' function."
93
93
nil )
94
94
(apply haskell-process-wrapper-function
95
95
(list
96
- (cons haskell-process-path-cabal (cons " repl" haskell-process-args-cabal-repl))))
97
- (let ((target (haskell-session-target session)))
98
- (if target (list target) nil ))))
96
+ (append
97
+ (list haskell-process-path-cabal " repl" )
98
+ haskell-process-args-cabal-repl
99
+ (let ((target (haskell-session-target session)))
100
+ (if target (list target) nil )))))))
99
101
('cabal-ghci
100
102
(append (list (format " Starting inferior cabal-ghci process using %s ... "
101
103
haskell-process-path-cabal-ghci)
Original file line number Diff line number Diff line change 51
51
(haskell-process-compute-process-log-and-command " dummy-session2" 'cabal-repl ))))))
52
52
53
53
(ert-deftest test-haskell-process--with-wrapper-compute-process-log-and-command-cabal-repl ()
54
- (should (equal '(" Starting inferior `cabal repl' process using cabal ..." " dumses2" nil " nix-shell" " default.nix" " --command" " cabal\\ repl\\ --ghc-option\\= -ferror-spans" " dumdum-session" )
54
+ (should (equal '(" Starting inferior `cabal repl' process using cabal ..." " dumses2" nil " nix-shell" " default.nix" " --command" " cabal\\ repl\\ --ghc-option\\= -ferror-spans\\ dumdum-session" )
55
55
(let ((haskell-process-path-cabal " cabal" )
56
56
(haskell-process-args-cabal-repl '(" --ghc-option=-ferror-spans" )))
57
57
(custom-set-variables '(haskell-process-wrapper-function
You can’t perform that action at this time.
0 commit comments