As evidenced by beginner questions, it’s an impactful issue, but I also stumbled on it for a coupe minutes. The editor gives me the following tooltip:
Syntax error dune
Syntax error, expecting `in' ocamllsp
So, ocamllsp
is trying harder. Originally, I’m getting a top-level let keyword highlighted as the error location, if I insert a ;;
then it gets highlighted. Any chance we could get a this let-binding might be unmatched
pointer?
Apologies as this must have been suggested before although I cannot find it discussed – why I write here instead of filing an feature request issue directly.