mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Resolve types when printing inheritance clauses.
Previously, a `.swiftinterface` emitted in lazy typechecking mode would fall back on printing the `TypeRepr` of entries in the inheritance clause of a declaration since inherited types could be unresolved.
This commit is contained in:
@@ -40,15 +40,15 @@
|
||||
// CHECK: public class func publicClassMethod()
|
||||
// CHECK: deinit
|
||||
// CHECK: }
|
||||
// CHECK: public struct PublicStructConformingToPublicProto : PublicProto {
|
||||
// CHECK: public struct PublicStructConformingToPublicProto : lazy_typecheck.PublicProto {
|
||||
// CHECK: public init()
|
||||
// CHECK: public func req() -> Swift.Int
|
||||
// CHECK: }
|
||||
// CHECK: public class PublicClassConformingToPublicProto : PublicProto {
|
||||
// CHECK: public class PublicClassConformingToPublicProto : lazy_typecheck.PublicProto {
|
||||
// CHECK: public init()
|
||||
// CHECK: public func req() -> Swift.Int
|
||||
// CHECK: deinit
|
||||
// CHECK: }
|
||||
// CHECK: extension Swift.String : PublicProto {
|
||||
// CHECK: extension Swift.String : lazy_typecheck.PublicProto {
|
||||
// CHECK: public func req() -> Swift.Int
|
||||
// CHECK: }
|
||||
|
||||
Reference in New Issue
Block a user