mirror of
https://github.com/vlang/v.git
synced 2025-09-17 19:36:35 -04:00
v2: add ParExpr to checker
This commit is contained in:
parent
6855c746bb
commit
eb80accfee
@ -476,6 +476,9 @@ pub fn (c mut Checker) expr(node ast.Expr) table.Type {
|
|||||||
ast.CastExpr {
|
ast.CastExpr {
|
||||||
return it.typ
|
return it.typ
|
||||||
}
|
}
|
||||||
|
ast.ParExpr {
|
||||||
|
return c.expr(it.expr)
|
||||||
|
}
|
||||||
ast.None {
|
ast.None {
|
||||||
return table.none_type
|
return table.none_type
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user