mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix -autofree cmd/v compilation job regression
This commit is contained in:
parent
c1f2c570bc
commit
87a16bbfe9
@ -3180,7 +3180,9 @@ fn (mut g Gen) typeof_expr(node ast.TypeOf) {
|
||||
varg_elem_type_sym := g.table.get_type_symbol(g.table.value_type(node.expr_type))
|
||||
g.write('_SLIT("...${util.strip_main_name(varg_elem_type_sym.name)}")')
|
||||
} else {
|
||||
g.write('_SLIT("${util.strip_main_name(g.table.type_to_str(node.expr_type))}")')
|
||||
x := g.table.type_to_str(node.expr_type)
|
||||
y := util.strip_main_name(x)
|
||||
g.write('_SLIT("$y")')
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user