ide-haskell-repl icon indicating copy to clipboard operation
ide-haskell-repl copied to clipboard

Some flags have not been recognized: prompt-cont

Open varosi opened this issue 7 years ago • 4 comments

When running it on Windows 10 and lts-5.2 I got:

Some flags have not been recognized: prompt-cont,

varosi avatar Jan 02 '18 16:01 varosi

Well, it spews warnings, but it should still work, right? There's a bit of a setup that ide-haskell-repl has to do in order to parse GHCI's output: https://github.com/atom-haskell/ide-haskell-repl/blob/c1cd88c908f42fc673b4332a771f99691f387b08/src/ghci.ts#L50-L52

prompt-cont has been added in GHC 8.2 I think, so earlier versions show warnings and ignore it. I didn't think checking GHC version is required in this case, since it doesn't directly affect functionality.

lierdakil avatar Jan 03 '18 08:01 lierdakil

Yes, it's only a warning

varosi avatar Jan 04 '18 19:01 varosi

@varosi Would it be possible to fix this warning using a conditional based on GHC version?

freeman42x avatar Feb 05 '18 02:02 freeman42x

@razvan-panda Yes, but it is on plug-ins side.

varosi avatar Feb 05 '18 19:02 varosi