add enum support

This commit is contained in:
Luna 2019-08-27 12:31:02 -03:00
parent 622f0e8d81
commit 9781a28df7
4 changed files with 60 additions and 0 deletions

View file

@ -79,3 +79,9 @@ pub mut:
pub mut mut:
f int
}
enum Color {
red green blue
cyan
alpha
}