Skip to content

Commit

Permalink
Deprecate at-dotcompat
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholters committed Jan 25, 2019
1 parent 1f51d34 commit 666460f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ module TypeUtils
export isabstract, parameter_upper_bound, typename
end # module TypeUtils

# @view, @views, @__dot__
include("arraymacros.jl")

# https://github.com/JuliaLang/julia/pull/25646
@static if VERSION < v"0.7.0-DEV.3510"
# not exported
Expand Down
7 changes: 0 additions & 7 deletions src/arraymacros.jl

This file was deleted.

8 changes: 8 additions & 0 deletions src/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,11 @@ if VERSION >= v"1.1.0-DEV.506"
end
end
end

# this was defined for use with Julia versions prior to 0.5
# (see https://github.com/JuliaLang/Compat.jl/pull/316)
macro dotcompat(x)
Base.depwarn("`@dotcompat x` is deprecated, use `@compat @. x` instead.", Symbol("@dotcompat"))
esc(:(Compat.@compat @. $x))
end
export @dotcompat

0 comments on commit 666460f

Please sign in to comment.