mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
u8 + i32 warnings
This commit is contained in:
parent
3bd7bcfac3
commit
59ba551d3b
@ -1611,6 +1611,12 @@ fn (p mut Parser) name_expr() string {
|
||||
p.error('undefined: `$name`')
|
||||
}
|
||||
else {
|
||||
if orig_name == 'i32' {
|
||||
println('`i32` alias was removed, use `int` instead')
|
||||
}
|
||||
if orig_name == 'u8' {
|
||||
println('`u8` alias was removed, use `byte` instead')
|
||||
}
|
||||
p.error('undefined: `$orig_name`')
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user