Enum values are auto-filled

This commit is contained in:
2022-10-14 20:06:11 -04:00
parent 2669a04857
commit 500184c4ab
4 changed files with 95 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ require '../typeSection'
enum ro aWeekday:Int
- sunday
- monday
- tuesday
- tuesday 3
- wednesday
- thursday
- friday
@@ -13,7 +13,7 @@ enum ro aWeekday:Int
type ro bColor:U32
# enum ro cNamedColor:bColor
# - red 0xFF0000
# - green 0x00FF00
# - blue 0x0000FF
enum ro cNamedColor:bColor
- red 0xFF0000
- green 0x00FF00
- blue 0x0000FF