rescript-lang / rescript-compiler

The compiler for ReScript.
https://rescript-lang.org
Other
6.64k stars 441 forks source link

Template literals: Missing compiler error location #6655

Open DZakh opened 6 months ago

DZakh commented 6 months ago

Version: rescript 11.1.0-rc.3

The non-existed function is not highlighted and there's no location in the compilation error as well.

image
zth commented 6 months ago

@tsnobip probably sdf is a ghost loc.

tsnobip commented 6 months ago

Version: rescript 11.1.0-rc.3

The non-existed function is not highlighted and there's no location in the compilation error as well.

Hmm yes error location is pretty bad right now, it's the last piece remaining for this feature, I have to make it right for IDE support too. It was my first significant contribution to the syntax, I'm still learning ^^