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.
inbounds
loopinfo
1 parent 4ccff40 commit 89d7b31Copy full SHA for 89d7b31
src/ast.scm
@@ -273,7 +273,8 @@
273
274
;; predicates and accessors
275
276
-(define (quoted? e) (memq (car e) '(quote top core globalref outerref line break inert meta)))
+(define (quoted? e)
277
+ (memq (car e) '(quote top core globalref outerref line break inert meta inbounds loopinfo)))
278
(define (quotify e) `',e)
279
(define (unquote e)
280
(if (and (pair? e) (memq (car e) '(quote inert)))
test/syntax.jl
@@ -1986,3 +1986,11 @@ i0xb23hG = @id_for_kwarg let x = 1
1986
end
1987
@test i0xb23hG() == 2
1988
@test i0xb23hG(x=10) == 10
1989
+
1990
+@test @eval let
1991
+ (z,)->begin
1992
+ $(Expr(:inbounds, true))
1993
+ $(Expr(:inbounds, :pop))
1994
+ end
1995
+ pop = 1
1996
+end == 1
0 commit comments