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

CI: split jobs into more steps; compiler: fix "v test v" with tcc

This commit is contained in:
Delyan Angelov
2019-09-22 17:24:15 +03:00
committed by Alexander Medvednikov
parent 049e228003
commit 7421781150
3 changed files with 37 additions and 15 deletions

View File

@ -2653,7 +2653,7 @@ fn (p mut Parser) map_init() string {
}
}
p.gen('new_map_init($i, sizeof($val_type), ' +
'(string[]){ $keys_gen }, ($val_type []){ $vals_gen } )')
'(string[$i]){ $keys_gen }, ($val_type [$i]){ $vals_gen } )')
typ := 'map_$val_type'
p.register_map(typ)
return typ