Skip to content

Commit bde6945

Browse files
authored
Base.Pair === Core.Compiler.Pair on 1.7 (#7)
These methods were pirating the definitions on stable Julia and (among other things) causing precompilation to fail.
1 parent cfce6f0 commit bde6945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patches.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Base.getindex(ref::UseRef) = Core.Compiler.getindex(ref)
9797
Base.iterate(uses::UseRefIterator) = Core.Compiler.iterate(uses)
9898
Base.iterate(uses::UseRefIterator, st) = Core.Compiler.iterate(uses, st)
9999

100-
@static if VERSION < v"1.8-"
100+
@static if VERSION < v"1.7-"
101101
Base.iterate(p::Core.Compiler.Pair) = Core.Compiler.iterate(p)
102102
Base.iterate(p::Core.Compiler.Pair, st) = Core.Compiler.iterate(p, st)
103103
end

0 commit comments

Comments
 (0)