Fix error msg interpolation
This commit is contained in:
parent
5c643a3b63
commit
11fdc0afa1
@ -136,7 +136,7 @@ errorToDiag (Expected what instead (Range (sl, sc, _) (el, ec, _))) =
|
|||||||
(Just J.DsError)
|
(Just J.DsError)
|
||||||
Nothing
|
Nothing
|
||||||
(Just "ligo-lsp")
|
(Just "ligo-lsp")
|
||||||
(Text.pack [i|Expected ${what}|])
|
(Text.pack [i|Expected #{what}|])
|
||||||
(Just $ J.List[])
|
(Just $ J.List[])
|
||||||
where
|
where
|
||||||
begin = J.Position (sl - 1) (sc - 1)
|
begin = J.Position (sl - 1) (sc - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user