File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 216
216
`(with-bindings ((whitespace-newline #t ))
217
217
,@body))
218
218
219
- (define-macro (without-whitespace-newline . body)
220
- `(with-bindings ((whitespace-newline #f ))
221
- ,@body))
222
-
223
219
; ; --- lexer ---
224
220
225
221
(define (newline? c ) (eqv? c #\newline ))
1546
1542
(define (parse-do s )
1547
1543
(with-bindings
1548
1544
((expect-end-current-line (input-port-line (ts:port s))))
1549
- (without-whitespace-newline
1545
+ (with-normal-context
1550
1546
(let ((doargs (if (memv (peek-token s) ' (#\newline #\; ))
1551
1547
'()
1552
1548
(parse-comma-separated s parse-range))))
Original file line number Diff line number Diff line change @@ -1875,3 +1875,14 @@ x32499 = begin
1875
1875
S32499 (x= 2 )
1876
1876
end
1877
1877
@test x32499 == 2
1878
+
1879
+ # issue #32467
1880
+ let f = identity (identity () do
1881
+ x = 0
1882
+ @inbounds for i = 1 : 2
1883
+ x += i
1884
+ end
1885
+ x
1886
+ end )
1887
+ @test f () == 3
1888
+ end
You can’t perform that action at this time.
0 commit comments