Closed
Description
Hey all! I'm testing the beta from here https://forum.rescript-lang.org/t/ann-new-rescript-vscode-beta-testers-needed/1518
Everything works great! But when I introduce a type error, and then it jumps to some different and unrelated file. Here's the code that type checks, and I can cmd+click on ThirdPane
to get to the right file and place.
<ThirdPane>
<div>
{ReasonReact.string(unwrapWithDefault(obj.headline, "[No headline]"))}
</div>
</ThirdPane>
If I introduce my type error by switching obj.headline
to an int 10
:
<ThirdPane>
<div>
{ReasonReact.string(unwrapWithDefault(10, "[No headline]"))}
</div>
</ThirdPane>
then cmd+click on ThirdPane
will lead me to React.re
line 3, which is the external called null
.