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 216216 `(with-bindings ((whitespace-newline #t))
217217 ,@body ))
218218
219- (define-macro (without-whitespace-newline . body)
220- `(with-bindings ((whitespace-newline #f))
221- ,@body ))
222-
223219;; --- lexer ---
224220
225221(define (newline? c) (eqv? c #\newline))
15461542(define (parse-do s)
15471543 (with-bindings
15481544 ((expect-end-current-line (input-port-line (ts: port s))))
1549- (without-whitespace-newline
1545+ (with-normal-context
15501546 (let ((doargs (if (memv (peek-token s) '(#\newline #\;))
15511547 '()
15521548 (parse-comma-separated s parse-range))))
Original file line number Diff line number Diff line change @@ -1875,3 +1875,14 @@ x32499 = begin
18751875 S32499 (x= 2 )
18761876end
18771877@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