mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ast: fix typos in resolve_init() (#13191)
This commit is contained in:
parent
db48594bd4
commit
31615d67c4
@ -19,11 +19,11 @@ pub fn resolve_init(node StructInit, typ Type, t &Table) Expr {
|
||||
}
|
||||
'cap' {
|
||||
has_cap = true
|
||||
len_expr = field.expr
|
||||
cap_expr = field.expr
|
||||
}
|
||||
'default' {
|
||||
'init' {
|
||||
has_default = true
|
||||
len_expr = field.expr
|
||||
default_expr = field.expr
|
||||
}
|
||||
else {
|
||||
exprs << field.expr
|
||||
|
Loading…
Reference in New Issue
Block a user