mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: make alias_type_exists.vv use type Pigeon Bird
syntax
This commit is contained in:
@@ -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() {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
type Pigeon = Bird
|
type Pigeon Bird
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user