Skip to content

Haskell grammar support for double quote in char '"'

Summary

The haskell grammar is broken for some reason. I have a construction of char " which is '"' in haskell. But highlighter thinks it's the start of a string. (But it isn't).

Steps to reproduce

Just create a .hs file in your repo and place '"' somewhere.

Example Project

https://gitlab.com/haskell-playground/json-parser/-/blob/main/main.hs

What is the current bug behavior?

All characters affter " represents as content of the string.

What is the expected correct behavior?

Character " represents as content of char literal and all characters affter it represents as another haskell entities.

Relevant logs and/or screenshots

image

Test link

https://gitlab.com/vyaklushin/test-repository/-/blob/main/main.hs

Edited by Vasilii Iakliushin