Skip to content

Commit 8f31889

Browse files
committed
1.0 is so annoying
1 parent 8398e89 commit 8f31889

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/AbstractTrees.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ include("iteration.jl")
1919
include("builtins.jl")
2020
include("printing.jl")
2121

22+
# Julia 1.0 support (delete when we no longer support it)
23+
if !isdefined(Base, :isnothing)
24+
isnothing(x) = x === nothing
25+
end
26+
2227

2328
#interface
2429
export ParentLinks, StoredParents, ImplicitParents

0 commit comments

Comments
 (0)