Open
Description
Your environment
Which OS do you use?
windows 10
Which version of GHC do you use and how did you install it?
ghc 9.8.1 / tried other versions 9.2.2 same issue
How is your project built (alternative: link to the project)?
stack build
Which LSP client (editor/plugin) do you use?
vscode latest + extension Haskell v2.4.1
Which version of HLS do you use and how did you install it?
hls v 2.4.0.0
ghcup installed it
Have you configured HLS in any way (especially: a hie.yaml
file)?
no
Steps to reproduce
stack new project
in any hs file
try add evaluation
{-| double
double 2
: hPutChar: invalid argument (cannot encode character '\8216')
-}
double :: Num a => a -> a
double x = (2*x)
Expected behaviour
{-| double
double 2
4
-}
Actual behaviour
{-| double
double 2
: hPutChar: invalid argument (cannot encode character '\8216')
-}