mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: fix method name test
This commit is contained in:
parent
fdd8c86fdb
commit
97e36cd97a
@ -1,6 +1,6 @@
|
||||
vlib/v/parser/tests/unexpected_keyword.vv:5:12: error: unexpected keyword `import`, expecting `(`
|
||||
vlib/v/parser/tests/unexpected_keyword.vv:5:12: error: expecting method name
|
||||
3 | }
|
||||
4 |
|
||||
4 |
|
||||
5 | fn (s Abc) import(name string) {
|
||||
| ~~~~~~
|
||||
6 | println(name)
|
||||
|
Loading…
Reference in New Issue
Block a user