Skip to content

Commit

Permalink
Bump the Swift version to 5.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shahmishal committed May 20, 2020
1 parent 7ae73d3 commit b623e82
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ set(SWIFT_ANALYZE_CODE_COVERAGE FALSE CACHE STRING
# SWIFT_VERSION is deliberately /not/ cached so that an existing build directory
# can be reused when a new version of Swift comes out (assuming the user hasn't
# manually set it as part of their own CMake configuration).
set(SWIFT_VERSION "5.2.3")
set(SWIFT_VERSION "5.2.4")

set(SWIFT_VENDOR "" CACHE STRING
"The vendor name of the Swift compiler")
Expand Down
4 changes: 2 additions & 2 deletions test/Serialization/Recovery/types-5-to-4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import Lib
func requiresConformance(_: B_RequiresConformance<B_ConformsToProto>) {}
func requiresConformance(_: B_RequiresConformance<C_RelyOnConformanceImpl.Assoc>) {}

class Sub: Base {} // expected-error {{cannot inherit from class 'Base' (compiled with Swift 5.2.3) because it has overridable members that could not be loaded in Swift 4.1.50}}
class Impl: Proto {} // expected-error {{type 'Impl' cannot conform to protocol 'Proto' (compiled with Swift 5.2.3) because it has requirements that could not be loaded in Swift 4.1.50}}
class Sub: Base {} // expected-error {{cannot inherit from class 'Base' (compiled with Swift 5.2.4) because it has overridable members that could not be loaded in Swift 4.1.50}}
class Impl: Proto {} // expected-error {{type 'Impl' cannot conform to protocol 'Proto' (compiled with Swift 5.2.4) because it has requirements that could not be loaded in Swift 4.1.50}}

#else // TEST

Expand Down
2 changes: 1 addition & 1 deletion test/SourceKit/Misc/compiler_version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

// CHECK: key.version_major: 5
// CHECK: key.version_minor: 2
// CHECK: key.version_patch: 3
// CHECK: key.version_patch: 4
2 changes: 1 addition & 1 deletion utils/build_swift/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
CMAKE_GENERATOR = 'Ninja'

COMPILER_VENDOR = 'none'
SWIFT_USER_VISIBLE_VERSION = CompilerVersion('5.2.3')
SWIFT_USER_VISIBLE_VERSION = CompilerVersion('5.2.4')
CLANG_USER_VISIBLE_VERSION = CompilerVersion('7.0.0')
SWIFT_ANALYZE_CODE_COVERAGE = 'false'

Expand Down

0 comments on commit b623e82

Please sign in to comment.