diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index 44957a722c..1ee352f71f 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -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 }