Closed sungshik closed 1 week ago
I think adding '\n"
would fix this. I have the feeling we fixed this one before.. but who knows. Good catch!
I think @sungshik proposed fix is right, as indeed, a .MF file has to end with a blank newline. no spaces no nothing.
Right! Let's do it.
Isn't it strange that there is no parse error in the original buggy template? Doesn't every non-escaped newline inside a string come with a single quote?
Right! Let's do it.
Ok, doing this now Done. See #2080.
Describe the bug
Function
newRascalProject
in moduleutil::Reflective
produces aMETA-INF/RASCAL.MF
that triggers an error in VS Code when a Rascal terminal is opened.To Reproduce
newRascalProject
in moduleutil::Reflective
Possible fix
This seems to be the code to generate
RASCAL.MF
:https://github.com/usethesource/rascal/blob/42cf8017669a6984c9a7bfc49c83300745188e5a/src/org/rascalmpl/library/util/Reflective.rsc#L407-L412
Adding a single quote to line 412 might be enough (but I'm not sure):