mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v2: fix type resolving
This commit is contained in:
parent
9e9bdc32ea
commit
e01c76c895
@ -1256,6 +1256,7 @@ fn (p mut Parser) add_unresolved(key string, expr ast.Expr) table.TypeRef {
|
|||||||
idx = p.table.unresolved_idxs[key]
|
idx = p.table.unresolved_idxs[key]
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
p.table.unresolved_idxs[key] = idx
|
||||||
p.unresolved << expr
|
p.unresolved << expr
|
||||||
}
|
}
|
||||||
t := table.TypeRef{
|
t := table.TypeRef{
|
||||||
|
Loading…
Reference in New Issue
Block a user