mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: add a test for the single letter receiver
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
vlib/v/checker/tests/receiver_unknown_type_single_letter.vv:1:5: error: unknown type `A`
|
||||
1 | fn (p A) foo() {}
|
||||
| ~~~
|
||||
@@ -0,0 +1,2 @@
|
||||
fn (p A) foo() {}
|
||||
|
||||
Reference in New Issue
Block a user