mirror of
https://github.com/vlang/v.git
synced 2025-09-23 04:18:48 -04:00
tests: make alias_type_exists.vv use type Pigeon Bird
syntax
This commit is contained in:
parent
f7153ca4fa
commit
48f9cc1ed7
@ -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() {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user