"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/Serialization/Recovery/types-5-to-4.swift" between
swift-swift-5.8-RELEASE.tar.gz and swift-swift-5.8.1-RELEASE.tar.gz

About: Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns (developed by Apple).

types-5-to-4.swift  (swift-swift-5.8-RELEASE):types-5-to-4.swift  (swift-swift-5.8.1-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.8) because it has overridable members that could not be loaded in d with Swift 5.8.1) because it has overridable members that could not be loaded
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.8) because it has requirements that could not be 'Proto' (compiled with Swift 5.8.1) because it has requirements that could not b
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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)