1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v2: add ParExpr to checker

This commit is contained in:
Joe Conigliaro 2020-02-29 15:36:39 +11:00
parent 6855c746bb
commit eb80accfee

View File

@ -476,6 +476,9 @@ pub fn (c mut Checker) expr(node ast.Expr) table.Type {
ast.CastExpr {
return it.typ
}
ast.ParExpr {
return c.expr(it.expr)
}
ast.None {
return table.none_type
}