tests: make alias_type_exists.vv use `type Pigeon Bird` syntax

pull/4602/head
Delyan Angelov 2020-04-26 08:23:09 +03:00
parent f7153ca4fa
commit 48f9cc1ed7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
vlib/v/checker/tests/inout/alias_type_exists.v:1:1: error: type `Bird` doesn't exist vlib/v/checker/tests/inout/alias_type_exists.v:1:1: error: type `Bird` doesn't exist
1| type Pigeon = Bird 1| type Pigeon Bird
~~~~~~~~~~~ ~~~~~~~~~~~
2| 2|
3| fn main() { 3| fn main() {

View File

@ -1,4 +1,4 @@
type Pigeon = Bird type Pigeon Bird
fn main() { fn main() {