1
0
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:
Alexander Medvednikov 2021-02-04 22:25:58 +01:00
parent fdd8c86fdb
commit 97e36cd97a

View File

@ -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)