Skip to content

Commit b99bf07

Browse files
committed
Add @static
1 parent 6751f97 commit b99bf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ end
552552
@test vsym(var_expr) == :x
553553
@test vinds(var_expr) == :(((1, $lastindex(x, 2)),))
554554

555-
if VERSION >= v"1.5.0-DEV.666"
555+
@static if VERSION >= v"1.5.0-DEV.666"
556556
var_expr = :(x[begin])
557557
@test vsym(var_expr) == :x
558558
@test vinds(var_expr) == :((($firstindex(x),),))

0 commit comments

Comments
 (0)