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
AST: Resolve types when computing inherited conformances for classes.
Previously, conformances inherited through a base class could be missed in lazy
typechecking mode if types in the inheritance clause were not already resolved.
Copy file name to clipboardExpand all lines: test/ModuleInterface/lazy-typecheck.swift
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,10 @@
45
45
// CHECK: public class func publicClassMethod()
46
46
// CHECK: deinit
47
47
// CHECK: }
48
+
// CHECK: @_inheritsConvenienceInitializers public class PublicDerivedClass : lazy_typecheck.PublicClass {
49
+
// CHECK: override public init(x: Swift.Int)
50
+
// CHECK: deinit
51
+
// CHECK: }
48
52
// CHECK: public struct PublicStructConformingToPublicProto : lazy_typecheck.PublicProto {
49
53
// CHECK: public init()
50
54
// CHECK: public func req() -> Swift.Int
@@ -54,6 +58,10 @@
54
58
// CHECK: public func req() -> Swift.Int
55
59
// CHECK: deinit
56
60
// CHECK: }
61
+
// CHECK: @_inheritsConvenienceInitializers public class PublicClassInheritingConformanceToPublicProto : lazy_typecheck.PublicClassConformingToPublicProto {
0 commit comments