mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: add support for enum Xyz as u64 {
+ tests (#16246)
This commit is contained in:
@ -1164,6 +1164,7 @@ pub:
|
||||
comments []Comment // comments before the first EnumField
|
||||
fields []EnumField // all the enum fields
|
||||
attrs []Attr // attributes of enum declaration
|
||||
typ Type // the default is `int`; can be changed by `enum Big as u64 { a = 5 }`
|
||||
pos token.Pos
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user