compiler: fix deprecation message for u8.
parent
510fb2a981
commit
d681e1cae3
|
@ -1627,8 +1627,8 @@ fn (p mut Parser) name_expr() string {
|
||||||
if orig_name == 'i32' {
|
if orig_name == 'i32' {
|
||||||
println('`i32` alias was removed, use `int` instead')
|
println('`i32` alias was removed, use `int` instead')
|
||||||
}
|
}
|
||||||
if orig_name == 'byte' {
|
if orig_name == 'u8' {
|
||||||
println('`byte` alias was removed, use `byte` instead')
|
println('`u8` alias was removed, use `byte` instead')
|
||||||
}
|
}
|
||||||
p.error('undefined: `$orig_name`')
|
p.error('undefined: `$orig_name`')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue