Skip to content

Commit 14221a4

Browse files
committed
fix message of -> operator
1 parent cd0e7d5 commit 14221a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/vimlparser.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3962,7 +3962,7 @@ function! s:ExprParser.parse_expr8() abort
39623962
let node.right = self.parse_expr8()
39633963
let node.lambda_rlist = s:NIL
39643964
if node.right.type !=# s:NODE_CALL
3965-
throw s:Err('Invalid method syntax', node.right.pos)
3965+
throw s:Err('Rhs of method operator must be an function call', node.right.pos)
39663966
endif
39673967
let left = node
39683968
unlet node

0 commit comments

Comments
 (0)