We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7febc commit c207a66Copy full SHA for c207a66
src/julia-syntax.scm
@@ -2115,14 +2115,14 @@
2115
;; skip last assignment if it is an all-underscore vararg
2116
(n (if (> n 0)
2117
(let ((l (last lhss)))
2118
- (if (and (pair? l) (eq? (car l) '|...|)
+ (if (and (vararg? l)
2119
(underscore-symbol? (cadr l)))
2120
(- n 1)
2121
n))
2122
2123
(st (gensy)))
2124
`(block
2125
- ,.(if (> n 0) `((local ,st)) '())
+ ,@(if (> n 0) `((local ,st)) '())
2126
,@ini
2127
,.(map (lambda (i lhs)
2128
(expand-forms
0 commit comments