annotate runtime/indent/testdir/tcl.in @ 33191:4efe5f797919
v9.0.1875
patch 9.0.1875: Vim9: improve test for disassemble + static
Commit: https://github.com/vim/vim/commit/28a60f898d5cd7023596b0e96a081b1573edc807
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Tue Sep 5 20:42:18 2023 +0200
patch 9.0.1875: Vim9: improve test for disassemble + static
Problem: Vim9: improve test for disassemble + static
Solution: Add a Vim9 script disassemble test for an interface with
static members
closes: #13037
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author |
Christian Brabandt <cb@256bit.org> |
date |
Tue, 05 Sep 2023 20:45:05 +0200 |
parents |
8b334e4cb97f |
children |
|
rev |
line source |
15194
|
1 # vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :
|
15131
|
2
|
|
3 # START_INDENT
|
|
4 proc abc {} {
|
|
5 set a 5
|
|
6 if {[some_cmd]==1} {
|
|
7 foreach i [list {1 2 3}] {
|
|
8 # Does this comment affect anything?
|
|
9 puts $i
|
|
10 }
|
|
11 }
|
|
12 }
|
|
13
|
|
14 command_with_a_long_time -arg1 "First" \
|
|
15 -arg2 "Second" \
|
|
16 -arg3 "Third"
|
|
17
|
|
18 puts "Move indent back after line continuation is complete"
|
|
19 # END_INDENT |