Enums are unimplemented #24
Labels
enhancement
New feature or request
ewasm
Code generation for the eWASM system for Ethereum
language
Issues with the flint-2 Flint language implementation or features
move ir
Code generation for Libra
semantic check
Problems with the semantic analysis stage
Enum parsing is implemented according to the flint guide.
However beyond this enums are not implemented in flint:
Semantic analysis
At the semantic analysis stage, a variable can have an enum type. For example, the following is permitted:
However, semantic analysis does not yet allow access via the dot operator to particular variations of the enum. That is to say that
Colour.Red
would fail semantic analysis.Move
Enums are not implemented in libra code generation
Ethereum
Enums are not implemented in LLVM/ eWASM code generation
The text was updated successfully, but these errors were encountered: