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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user