mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v: run cast expr through checker
This commit is contained in:
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
Block a user