We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a8aff commit 4007fbbCopy full SHA for 4007fbb
1 file changed
src/ArrayInterface.jl
@@ -1000,4 +1000,8 @@ ensures_sorted(@nospecialize( T::Type{<:AbstractRange})) = true
1000
ensures_sorted(T::Type) = is_forwarding_wrapper(T) ? ensures_sorted(parent_type(T)) : false
1001
ensures_sorted(@nospecialize(x)) = ensures_sorted(typeof(x))
1002
1003
+function has_trivial_array_contstructor(::Type{T}, args...) as T
1004
+ applicable(T, args...)
1005
+end
1006
+
1007
end # module
0 commit comments