I want to extend an Array where the Element is a nested class of a generic type:
class GenericType<T: ExpressibleByInt> {
class NestedClass {
}
}
extension Array where Element == GenericType.NestedClass { // Fails: Reference to generic type 'GenericType' requires arguments in <...>.
...
}
Is there a syntax for expressing an extension for a generic where the generic's element is the nested class of another generic?