[vim/vim] Fix: call def with comments cause errors (PR #19487)

2 views
Skip to first unread message

h_east

unread,
3:02 PM (7 hours ago) 3:02 PM
to vim/vim, Subscribed

Fixes: #19484


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19487

Commit Summary

  • 1538ca7 Fix: call def with comments cause errors

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19487@github.com>

Mao-Yining

unread,
9:53 PM (1 hour ago) 9:53 PM
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#19487)

var lines =<< trim END
def Func(n: number)
echo n
enddef
Func( # comment
1
)
END

The test is not what was reported.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19487/c3942240521@github.com>

h_east

unread,
10:21 PM (7 minutes ago) 10:21 PM
to vim/vim, Subscribed
h-east left a comment (vim/vim#19487)

This is a bug in the compile-time parsing of def or lambda calls, so the issue being checked is the same.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19487/c3942344071@github.com>

Reply all
Reply to author
Forward
0 new messages