Closed
Description
Your environment
- ghcup-compiled LSP from a recent-ish master
- VS Code extension v2.2.1
- GHC 9.2.4
- Ubuntu
Steps to reproduce
type family (label :: Symbol) ::: a where
label ::: a = a
type Example = "привет" ::: Int
x :: Example
x = 4
Hover over 4
to see its type.
Expected behaviour
The label should be preserved since it's a valid Haskell symbol: _ :: "привет" ::: Int
.
Actual behaviour
The label escaped into _ :: "\1087\1088\1080\1074\1077\1090" ::: Int
.