mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fixes rdar://55560962 and https://bugs.swift.org/browse/SR-11495 This bug was caused because we'd fail to lookup C in B, because we hadn't computed its type yet and therefore B is filtered from lookup. Just remove the filter for interface type.
9 lines
298 B
Swift
9 lines
298 B
Swift
// RUN: %empty-directory(%t)
|
|
|
|
// RUN: %target-build-swift -emit-module -o %t/Module.swiftmodule %s %S/Inputs/multi-file-subclass-generic-instantiation-extension.swift
|
|
|
|
// https://bugs.swift.org/browse/SR-11495
|
|
|
|
class Superclass<T> {}
|
|
class Subclass: Superclass<Subclass.MemberTypeFromOtherFile> {}
|