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

compiler: fix deprecation message for u8.

This commit is contained in:
Delyan Angelov 2019-09-02 20:46:07 +03:00 committed by Alexander Medvednikov
parent 510fb2a981
commit d681e1cae3

View File

@ -1627,8 +1627,8 @@ fn (p mut Parser) name_expr() string {
if orig_name == 'i32' {
println('`i32` alias was removed, use `int` instead')
}
if orig_name == 'byte' {
println('`byte` alias was removed, use `byte` instead')
if orig_name == 'u8' {
println('`u8` alias was removed, use `byte` instead')
}
p.error('undefined: `$orig_name`')
}