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

gen: fix multiple call of expression in match (#6324)

This commit is contained in:
Enzo
2020-09-08 00:38:24 +02:00
committed by GitHub
parent 5258f52497
commit 18034bb95c
6 changed files with 56 additions and 37 deletions

View File

@ -7,13 +7,10 @@ fn main() {
args := os.args
args_string := args[1..].join(' ')
params := args_string.all_before('build-examples')
if testing.v_build_failing(params, 'examples'){
if testing.v_build_failing(params, 'examples') {
exit(1)
}
if testing.v_build_failing(params + '-live', os.join_path( 'examples', 'hot_reload')){
if testing.v_build_failing(params + '-live', os.join_path('examples', 'hot_reload')) {
exit(1)
}
}