Skip to content

evaluate plugin error hPutChar: invalid argument (cannot encode character '\8216') #3841

Open
@Delli

Description

@Delli

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')
-}

Debug information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions