parser: fix method name test

pull/8561/head
Alexander Medvednikov 2021-02-04 22:25:58 +01:00
parent fdd8c86fdb
commit 97e36cd97a
1 changed files with 2 additions and 2 deletions

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)