Open Akuli opened 1 year ago
I wrote this code: (AstExpressionKind is an enum)
AstExpressionKind
result = AstExpression{ location = call.location, kind = AstExpressionKind.Call, call = call, }
Expected result: The compiler complains about AstExpressionKind.Call and tells me to use :: instead of . to access enum members.
AstExpressionKind.Call
::
.
Actual result: compiler error in file "self_hosted/parser.jou", line 376: no variable named 'AstExpressionKind'
compiler error in file "self_hosted/parser.jou", line 376: no variable named 'AstExpressionKind'
Ran into this today
I wrote this code: (
AstExpressionKind
is an enum)Expected result: The compiler complains about
AstExpressionKind.Call
and tells me to use::
instead of.
to access enum members.Actual result:
compiler error in file "self_hosted/parser.jou", line 376: no variable named 'AstExpressionKind'