1
0
forked from aniani/vim

patch 9.1.0255: Vim9: no indication of script nr in stack trace of classes

Problem:  Vim9: no indication of script nr in stack trace of classes
Solution: Prefix the class name with the script name in the stack trace.
          (Ernie Rael)

fixes: #14376
closes: #14390

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Ernie Rael
2024-04-02 19:05:39 +02:00
committed by Christian Brabandt
parent 0a419e07a7
commit 16cdfa69e0
3 changed files with 6 additions and 1 deletions

View File

@@ -3741,7 +3741,7 @@ def Test_stack_expansion_with_methods()
endclass
def F0()
assert_match('<SNR>\d\+_F\[1\]\.\.C\.M1\[1\]\.\.<SNR>\d\+_F0\[1\]$', expand('<stack>'))
assert_match('<SNR>\d\+_F\[1\]\.\.<SNR>\d\+_C\.M1\[1\]\.\.<SNR>\d\+_F0\[1\]$', expand('<stack>'))
enddef
def F()