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