Skip to content

Commit 2e3c2b7

Browse files
authored
Merge pull request #68586 from apple/bump-version-5.9.2
2 parents 33917a3 + 5f5537c commit 2e3c2b7

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ set(SWIFT_ANALYZE_CODE_COVERAGE FALSE CACHE STRING
313313
# manually set it as part of their own CMake configuration).
314314
set(SWIFT_VERSION_MAJOR 5)
315315
set(SWIFT_VERSION_MINOR 9)
316-
set(SWIFT_VERSION "${SWIFT_VERSION_MAJOR}.${SWIFT_VERSION_MINOR}")
316+
set(SWIFT_VERSION_PATCH 2)
317+
set(SWIFT_VERSION "${SWIFT_VERSION_MAJOR}.${SWIFT_VERSION_MINOR}.${SWIFT_VERSION_PATCH}")
317318

318319
set(SWIFT_VENDOR "" CACHE STRING
319320
"The vendor name of the Swift compiler")

test/Serialization/Recovery/types-5-to-4.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import Lib
1616
func requiresConformance(_: B_RequiresConformance<B_ConformsToProto>) {}
1717
func requiresConformance(_: B_RequiresConformance<C_RelyOnConformanceImpl.Assoc>) {}
1818

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

2222
#else // TEST
2323

test/SourceKit/Misc/compiler_version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
// CHECK: key.version_major: 5
44
// CHECK: key.version_minor: 9
5-
// CHECK: key.version_patch: 0
5+
// CHECK: key.version_patch: 2

utils/build_swift/build_swift/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
CMAKE_GENERATOR = 'Ninja'
4747

4848
COMPILER_VENDOR = 'none'
49-
SWIFT_USER_VISIBLE_VERSION = Version('5.9')
49+
SWIFT_USER_VISIBLE_VERSION = Version('5.9.2')
5050
CLANG_USER_VISIBLE_VERSION = Version('13.0.0')
5151
SWIFT_ANALYZE_CODE_COVERAGE = 'false'
5252

0 commit comments

Comments
 (0)