Skip to content

Commit e243ed9

Browse files
committed
fix #9904, hang in front end on nd comprehension
1 parent b87c5ba commit e243ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/julia-syntax.scm

+2-2
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@
19801980
a)))
19811981
`(call hvcat
19821982
(tuple ,.(map length rows))
1983-
,.(apply nconc rows)))
1983+
,.(apply append rows)))
19841984
`(call vcat ,@a))))))
19851985

19861986
'typed_hcat
@@ -2103,7 +2103,7 @@
21032103
;; Evaluate the comprehension
21042104
`(scope-block
21052105
(block
2106-
(= ,oneresult (tuple))
2106+
(local ,oneresult)
21072107
,(evaluate-one ranges)
21082108
(= ,result (call (top Array) ,(if atype atype `(call (top eltype) ,oneresult))
21092109
,@(compute-dims ranges 1)))

0 commit comments

Comments
 (0)