ci: fix failure for function_stored_in_global.vv

pull/10848/head
Delyan Angelov 2021-07-17 18:19:20 +03:00
parent ee9e91b8e7
commit fc8a8e3b6f
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 0 deletions

View File

@ -2126,6 +2126,7 @@ pub fn (mut p Parser) name_expr() ast.Expr {
p.check(.rpar)
node = ast.CastExpr{
typ: to_typ
typname: p.table.get_type_symbol(to_typ).name
expr: expr
arg: arg
has_arg: has_arg