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

fn call; if expression; bool literals; 100k line program gen

fix

yay

lovely
This commit is contained in:
Alexander Medvednikov
2019-12-29 08:51:55 +01:00
parent 63b70ddb06
commit 2d2e0307b8
10 changed files with 171 additions and 38 deletions

View File

@ -3094,7 +3094,8 @@ fn (p mut Parser) check_unused_imports() {
return
}
// the imports are usually at the start of the file
p.production_error_with_token_index('the following imports were never used: $output', 0)
//p.production_error_with_token_index('the following imports were never used: $output', 0)
p.warn('the following imports were never used: $output')
}
fn (p &Parser) is_expr_fn_call(start_tok_idx int) (bool,string) {