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 29, 2019
1 parent f84ec3f commit fbe888f
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 @@ -75,6 +75,14 @@ if VERSION >= v"1.1.0-DEV.506"
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

# to be deprecated:

# * Compat.Random.uuid1, uuid4, uuid_version (in favour of Compat.UUIDs.*)

0 comments on commit fbe888f

Please sign in to comment.