1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failure for function_stored_in_global.vv

This commit is contained in:
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

View File

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