diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index f747cf271f..7d7a711efb 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -539,6 +539,7 @@ pub fn (c mut Checker) expr(node ast.Expr) table.Type { return table.bool_type } ast.CastExpr { + c.expr(it.expr) return it.typ } ast.CallExpr {