v: run cast expr through checker
parent
6b6031a3d9
commit
89cbe76193
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue