mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix array.last()
This commit is contained in:
@@ -794,6 +794,7 @@ pub fn (p mut Parser) expr(precedence int) ast.Expr {
|
||||
p.error('unknown variable `$name`')
|
||||
return node
|
||||
}
|
||||
println('assoc var $name typ=$var.typ')
|
||||
mut fields := []string
|
||||
mut vals := []ast.Expr
|
||||
p.check(.pipe)
|
||||
|
||||
Reference in New Issue
Block a user