You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This matches regular labels, but labels inserted from macros have a different format:
The following labels were added:
Lbl_1 at line 11, column 5
Lbl_2 at line 12, column 5
Lbl_3 at line 8, column 5 of macro called at line 13, column 5
Lbl_4 at line 14, column 5
Lbl_5 at line 15, column 5
So the label parser terminates early and doesn't label the macro or any lines past the macro.
Notes:
Go ahead and assign this to me, I can fix it next week
The text was updated successfully, but these errors were encountered:
Description:
Steps to reproduce:
"tlaplus.pluscal.options": "-reportLabels"
,Expectations:
Diagnostics should underline all five lines, showing that five labels were inserted. But diagnostics stop after the second label.
Cause:
The problem is this line in the PlusCal parser:
vscode-tlaplus/src/parsers/pluscal.ts
Lines 127 to 131 in a3169ad
This matches regular labels, but labels inserted from macros have a different format:
So the label parser terminates early and doesn't label the macro or any lines past the macro.
Notes:
Go ahead and assign this to me, I can fix it next week
The text was updated successfully, but these errors were encountered: