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:
parent
6855c746bb
commit
eb80accfee
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user