types-5-to-4.swift (swift-swift-5.7.2-RELEASE) | : | types-5-to-4.swift (swift-swift-5.7.3-RELEASE) | ||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
// REQUIRES: objc_interop | // REQUIRES: objc_interop | |||
#if TEST | #if TEST | |||
import Lib | import Lib | |||
func requiresConformance(_: B_RequiresConformance<B_ConformsToProto>) {} | func requiresConformance(_: B_RequiresConformance<B_ConformsToProto>) {} | |||
func requiresConformance(_: B_RequiresConformance<C_RelyOnConformanceImpl.Assoc> ) {} | func requiresConformance(_: B_RequiresConformance<C_RelyOnConformanceImpl.Assoc> ) {} | |||
class Sub: Base {} // expected-error {{cannot inherit from class 'Base' (compile | class Sub: Base {} // expected-error {{cannot inherit from class 'Base' (compile | |||
d with Swift 5.7.2) because it has overridable members that could not be loaded | d with Swift 5.7.3) because it has overridable members that could not be loaded | |||
in Swift 4.1.50}} | in Swift 4.1.50}} | |||
class Impl: Proto {} // expected-error {{type 'Impl' cannot conform to protocol | class Impl: Proto {} // expected-error {{type 'Impl' cannot conform to protocol | |||
'Proto' (compiled with Swift 5.7.2) because it has requirements that could not b | 'Proto' (compiled with Swift 5.7.3) because it has requirements that could not b | |||
e loaded in Swift 4.1.50}} | e loaded in Swift 4.1.50}} | |||
#else // TEST | #else // TEST | |||
import Types | import Types | |||
// Please use prefixes to keep the printed parts of this file in alphabetical | // Please use prefixes to keep the printed parts of this file in alphabetical | |||
// order. | // order. | |||
public func A_renameAllTheThings( | public func A_renameAllTheThings( | |||
a: RenamedClass?, | a: RenamedClass?, | |||
End of changes. 1 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added |