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