File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -3893,8 +3893,9 @@ f(x) = yt(x)
3893
3893
' (null))
3894
3894
3895
3895
((gc_preserve_begin)
3896
- (let ((s (make-ssavalue)))
3897
- (emit `(= ,s ,e))
3896
+ (let ((s (make-ssavalue))
3897
+ (args (compile-args (cdr e) break-labels linearize-args)))
3898
+ (emit `(= ,s ,(cons (car e) args)))
3898
3899
s))
3899
3900
3900
3901
; ; metadata expressions
Original file line number Diff line number Diff line change @@ -1736,6 +1736,21 @@ end
1736
1736
# we don't parse chains of these since the associativity and meaning aren't clear
1737
1737
@test_throws ParseError Meta. parse (" 1..2..3" )
1738
1738
1739
+ # issue #30048
1740
+ @test Meta. isexpr (Meta. lower (@__MODULE__ , :(for a in b
1741
+ c = try
1742
+ try
1743
+ d () do
1744
+ if GC. @preserve c begin
1745
+ end
1746
+ end
1747
+ end
1748
+ finally
1749
+ end
1750
+ finally
1751
+ end
1752
+ end )), :thunk )
1753
+
1739
1754
# issue #28506
1740
1755
@test Meta. isexpr (Meta. parse (" 1," ), :incomplete )
1741
1756
@test Meta. isexpr (Meta. parse (" 1, " ), :incomplete )
You can’t perform that action at this time.
0 commit comments