mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: fix new EnumVal
This commit is contained in:
parent
28ee0f4ebe
commit
0f8b2399ee
@ -280,7 +280,7 @@ fn (f mut Fmt) expr(node ast.Expr) {
|
||||
f.write(')')
|
||||
}
|
||||
ast.EnumVal {
|
||||
f.write('.' + it.name)
|
||||
f.write(it.enum_name + '.' + it.val)
|
||||
}
|
||||
ast.FloatLiteral {
|
||||
f.write(it.val)
|
||||
|
Loading…
Reference in New Issue
Block a user