mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
6 lines
208 B
Plaintext
6 lines
208 B
Plaintext
vlib/v/parser/tests/method_decl_on_non_local_array.vv:1:7: error: cannot define new methods on non-local type []int
|
|
1 | fn (a []int) get_number() int {
|
|
| ~~~~~
|
|
2 | return 1
|
|
3 | }
|