mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix "undefined" error
This commit is contained in:
parent
ad7b39d763
commit
6d98203572
@ -1565,7 +1565,7 @@ fn (p mut Parser) undefined_error(name string, orig_name string) {
|
|||||||
} else if orig_name in reserved_type_param_names {
|
} else if orig_name in reserved_type_param_names {
|
||||||
p.error('the letter `$orig_name` is reserved for type parameters')
|
p.error('the letter `$orig_name` is reserved for type parameters')
|
||||||
}
|
}
|
||||||
p.error('undefined symbol: `$orig_name`')
|
p.error('undefined: `$orig_name`')
|
||||||
}
|
}
|
||||||
|
|
||||||
fn (p mut Parser) var_expr(v Var) string {
|
fn (p mut Parser) var_expr(v Var) string {
|
||||||
|
Loading…
Reference in New Issue
Block a user