From d681e1cae3f6f7e2c26dd3a46736ee3812983c99 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 2 Sep 2019 20:46:07 +0300 Subject: [PATCH] compiler: fix deprecation message for u8. --- compiler/parser.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/parser.v b/compiler/parser.v index e662e1634d..44931587fc 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -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`') }