rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Template literals: Missing compiler error location

Open DZakh opened this issue 1 year ago • 2 comments

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

DZakh avatar Feb 27 '24 10:02 DZakh

@tsnobip probably sdf is a ghost loc.

zth avatar Feb 27 '24 10:02 zth

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 ^^

tsnobip avatar Feb 27 '24 10:02 tsnobip

Fixed in #6816.

cknitt avatar Sep 01 '24 08:09 cknitt