New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string litteral with an extension node is wrongly marked as being unterminated #1753
Comments
Thanks for the report @EmileTrotignon, I was able to reproduce the behavior you observe. For reference, the manual says:
It looks like Merlin lexer has diverged quite a bit from upstream for these cases. |
Hi @voodoos {%ext|abc|} is a shortcut for [%ext {|abc|} ] I guess it must be documented in "language extension" : https://v2.ocaml.org/manual/extensionnodes.html#ss%3Abuiltin-extension-nodes |
Yes my bad, I was editing my comment but you were too fast :-) |
The following code :
(* {%ext|babar|} *)
results in a syntax error displayed by lsp, even if the compiler is happy with it :
This was reproduced on emacs without lsp, so it is likely from the merlin parser.
The text was updated successfully, but these errors were encountered: