Single quotes in property types are not correctly escaped
msujew opened this issue · 0 comments
msujew commented
Langium version: 3.0
Package name: langium-cli
Steps To Reproduce
- Use a rule like
A: value="'test'"
; - The generated
ast.ts
does not compile
The current behavior
It generates the string type as ''test''
.
The expected behavior
It's supposed to generate the type as '\'test\''
.