Skip to content

Commit 8294c7b

Browse files
committed
don't hardcode Julia version
1 parent 22f5335 commit 8294c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ using Base: @propagate_inbounds, tail, OneTo, LogicalIndex, Slice, ReinterpretAr
1414

1515

1616
## utilites for internal use only ##
17-
@static if VERSION >= v"1.7.0-DEV.421"
17+
@static if isdefined(Base, Symbol("@constprop"))
1818
using Base: @constprop
1919
else
2020
macro constprop(_, ex)

0 commit comments

Comments
 (0)