Skip to content

Deprecate ImmutableArrays and FixedSizeArrays compatibility interfaces #521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/FixedSizeArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ etc, using StaticArrays as a backend.
The type definitions are not "perfect" matches because the type parameters are
different. However, it should cover common method signatures and constructors.
"""
module FixedSizeArrays
module FixedSizeArraysWillBeRemoved

using ..StaticArrays

Expand Down Expand Up @@ -187,3 +187,6 @@ end
@fixed_vector Point StaticVector

end

Base.@deprecate_binding FixedSizeArrays FixedSizeArraysWillBeRemoved #=
=# false "StaticArrays.FixedSizeArrays is deprecated. Use StaticArrays directly."
5 changes: 4 additions & 1 deletion src/ImmutableArrays.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ImmutableArrays
module ImmutableArraysWillBeRemoved

using ..StaticArrays

Expand Down Expand Up @@ -34,3 +34,6 @@ export Vector1, Vector2, Vector3, Vector4,
Matrix4x1, Matrix4x2, Matrix4x3, Matrix4x4

end # module

Base.@deprecate_binding ImmutableArrays ImmutableArraysWillBeRemoved #=
=# false "StaticArrays.ImmutableArrays is deprecated. Use StaticArrays directly."