Skip to content

Commit 404817e

Browse files
committed
Merge pull request #34 from JuliaLang/tk/compat
add at-compat to avoid possibly breaking on some early 0.4-dev versions
2 parents f7c3a0c + 9329929 commit 404817e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ set_attribute(x::XMLElement, name::AbstractString, val) = set_attribute(x, name,
329329
if VERSION < v"0.4.0-dev+980"
330330
const PairTypes = NTuple{2}
331331
else
332-
const PairTypes = Union{NTuple{2}, Pair}
332+
const PairTypes = @compat Union{NTuple{2}, Pair}
333333
end
334334

335335
function set_attributes{P<:PairTypes}(x::XMLElement, attrs::AbstractArray{P})

0 commit comments

Comments
 (0)