compiler: fix deprecation message for u8.

pull/1827/head
Delyan Angelov 2019-09-02 20:46:07 +03:00 committed by Alexander Medvednikov
parent 510fb2a981
commit d681e1cae3
1 changed files with 2 additions and 2 deletions

View File

@ -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`')
} }