Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

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

Open
varosi opened this issue Jan 2, 2018 · 4 comments
Open

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

varosi opened this issue Jan 2, 2018 · 4 comments

Comments

@varosi
Copy link

varosi commented Jan 2, 2018

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

Some flags have not been recognized: prompt-cont,

@lierdakil
Copy link
Contributor

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:

`:set prompt2 \"\"${EOL}` +
`:set prompt-cont \"\"${EOL}` +
`:set prompt \"\\n#~IDEHASKELLREPL~%s~#\\n\"${EOL}`,

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
Copy link
Author

varosi commented Jan 4, 2018

Yes, it's only a warning

@freeman42x
Copy link

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

@varosi
Copy link
Author

varosi commented Feb 5, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants