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
I understand that this is implementation-specific, but there seems to be no point in having different behavior in different compilers here. This makes side-by-side comparison of compilers difficult.
I believe cmd/compile (gc) should accept this program. The //line comment doesn't start on the beginning of a line and should be ignored. Making this a gc bug.
Gc rejects to compile the following program:
saying:
gotype compiles it successfully.
Compilers should agree on whether it is a valid Go program or not.
on commit af81789
The text was updated successfully, but these errors were encountered: