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 it not a bug but rather just a very poor and unhelpful error message; there's a tab character in the line comment (replaced with a control picture for clarity):
Tabs in comments have always been in violation of the spec (ziglang/zig-spec#38) but only recently was the tokenizer updated to conform to the spec, see #20885.
Zig Version
0.14.0-dev.1166+bb7050106
Steps to Reproduce and Observed Behavior
Compiling this
build.zig
:Gives this error:
@karlseguin FYI
Expected Behavior
Compiler does not error when evaluating commented code.
The text was updated successfully, but these errors were encountered: