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
Extern enums were removed from the language #2115 (comment) so the error message itself is wrong.
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
labels
Aug 6, 2021
If you export an enum, you get this message:
If you follow the suggestion in the above error, you get an error that enums cannot be
extern
This feels like a bug, maybe in AST check or maybe in
@export
.For now, I can work around this with an
@enumToInt
:The text was updated successfully, but these errors were encountered: