Skip to content

Commit c207a66

Browse files
Apply suggestions from code review
Co-authored-by: Jeff Bezanson <[email protected]>
1 parent ac7febc commit c207a66

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
@@ -2115,14 +2115,14 @@
21152115
;; skip last assignment if it is an all-underscore vararg
21162116
(n (if (> n 0)
21172117
(let ((l (last lhss)))
2118-
(if (and (pair? l) (eq? (car l) '|...|)
2118+
(if (and (vararg? l)
21192119
(underscore-symbol? (cadr l)))
21202120
(- n 1)
21212121
n))
21222122
n))
21232123
(st (gensy)))
21242124
`(block
2125-
,.(if (> n 0) `((local ,st)) '())
2125+
,@(if (> n 0) `((local ,st)) '())
21262126
,@ini
21272127
,.(map (lambda (i lhs)
21282128
(expand-forms

0 commit comments

Comments
 (0)