Skip to content

Commit bb77974

Browse files
authored
Merge pull request #489 from JamesWrigley/scoped-values-v1.11
Fix import of ScopedValues in Julia v1.11
2 parents d51b319 + 8f304db commit bb77974

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/Dagger.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ import LinearAlgebra: transpose
1212

1313
using UUIDs
1414

15-
if !isdefined(Base, :with)
16-
using ScopedValues
15+
if !isdefined(Base, :ScopedValues)
16+
import ScopedValues: ScopedValue, with
17+
else
18+
import Base.ScopedValues: ScopedValue, with
1719
end
1820

1921
using Requires

0 commit comments

Comments
 (0)