Show that a variable is cursor in --expandArc (#15002)

This commit is contained in:
Clyybber 2020-07-17 10:56:17 +02:00 • committed by GitHub
commit 1355b461aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 23 deletions

View file

@ -8,14 +8,14 @@ var
:tmpD_1
:tmpD_2
try:
var x = ("hi", 5)
x = if cond:
var x_cursor = ("hi", 5)
x_cursor = if cond:
:tmpD = ("different", 54)
:tmpD else:
:tmpD_1 = ("string here", 80)
:tmpD_1
echo [
:tmpD_2 = `$`(x)
:tmpD_2 = `$`(x_cursor)
:tmpD_2]
finally:
`=destroy`(:tmpD_2)