Skip to content

Commit 7271e1f

Browse files
authored
fix UndefVarError: @assume_effects not defined (#280)
* fix `UndefVarError: @assume_effects not defined` * using not import
1 parent 2c1eb9e commit 7271e1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ArrayInterfaceCore/src/ArrayInterfaceCore.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ _is_reshaped(::Type{<:Base.ReinterpretArray}) = false
1212

1313
@static if isdefined(Base, Symbol("@assume_effects"))
1414
using Base: @constprop
15+
using Base: @assume_effects
1516
else
1617
macro assume_effects(_, ex)
1718
Base.@pure ex

0 commit comments

Comments
 (0)