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
{{ message }}
Repository navigation
Unify syntax-error coordinates across TS, C# and C++ #28
The three runtimes report syntax-error coordinates differently, while enum/variable validation errors now share one system: a logical block line plus a UTF-16 offset into the raw HTML after the opening code tag.
C#:ParseException.Line/Column stay null for syntax errors (CSharp/Interpreter/ArcscriptTranspiler.cs), and the message uses ANTLR's physical line:col.
C++: ANTLR's physical line and code-point column go into the same fields that enum errors use for the block line and UTF-16 offset.
TS (TypeScript/src/ErrorListener.ts): currentLine/openTagEndPos only update when the codestart action runs. Errors found during prediction, before the opening tag is consumed, are reported against the previous block.
Goal: syntax errors use the same coordinates as validation errors in all three runtimes, with shared fixtures in tests/.
Activity