We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9622ad commit d4068a7Copy full SHA for d4068a7
README.md
@@ -81,3 +81,12 @@ development.
81
- AFArrays
82
- MultiScaleArrays
83
- LabelledArrays
84
+
85
+## Breaking Release Notes
86
87
+2.0: Changed the default of `ismutable(array::AbstractArray) = true`. We previously defaulted to
88
+`Base.@pure ismutable(array::AbstractArray) = typeof(array).mutable`, but there are a lot of cases
89
+where this tends to not work out in a way one would expect. For example, if you put a normal array
90
+into an immutable struct that adds more information to it, this is considered immutable, even if
91
+all of the `setindex!` methods work (by forwarding to the mutable array). Thus it seems safer to just
92
+always assume mutability is standard for an array, and allow arrays to opt-out.
0 commit comments