Files
swift-mirror/test/Serialization/multi-file-subclass-generic-instantiation.swift
Harlan Haskins 67683d8884 [Deserialization] Allow lookup into decls that don't have an interface type yet
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.
2019-09-30 11:24:22 -07:00

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> {}