You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An implementation detail of [`with_stripped_type_parameters`](@ref). Don't call
133
+
directly.
134
+
"""
135
+
function with_stripped_type_parameters_unchecked end
136
+
137
+
functionwith_stripped_type_parameters_unchecked(::TypeParametersElementType, ::Type{<:(GenericMemory{K, T, AS} where {T})}) where {K, AS}
138
+
s = GenericMemory{K, T, AS} where {T}
139
+
Val{s}()
132
140
end
133
141
134
-
functionstripped_type(::Type{T}, ::Type{S}) where {T,S<:T}
135
-
ret =stripped_type_unchecked(T, S)::Type{<:T}::UnionAll
136
-
S::Type{<:ret}
137
-
normalized_type(ret) # ensure `UnionAll` type variable order is normalized
142
+
# `Base.@assume_effects :consistent` is a workaround for:
143
+
# https://github.com/JuliaLang/julia/issues/56966
144
+
Base.@assume_effects:consistentfunctionwith_stripped_type_parameters_unchecked(::TypeParametersElementTypeAndDimensionality, ::Type{<:(FixedSizeArray{T, N, Mem} where {T, N})}) where {Mem}
0 commit comments