atom-haskell / ide-haskell-repl

GHCi REPL in Atom
https://atom.io/packages/ide-haskell-repl
MIT License
26 stars 8 forks source link

Some flags have not been recognized: prompt-cont #58

Open varosi opened 6 years ago

varosi commented 6 years ago

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

Some flags have not been recognized: prompt-cont,

lierdakil commented 6 years ago

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.

varosi commented 6 years ago

Yes, it's only a warning

freeman42x commented 6 years ago

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

varosi commented 6 years ago

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