Skip to content

Commit 80e1611

Browse files
Merge pull request #4424 from swiftwasm/release/5.6
[pull] swiftwasm-release/5.6 from release/5.6
2 parents 2012b91 + 442f39e commit 80e1611

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ set(SWIFT_ANALYZE_CODE_COVERAGE FALSE CACHE STRING
170170
# SWIFT_VERSION is deliberately /not/ cached so that an existing build directory
171171
# can be reused when a new version of Swift comes out (assuming the user hasn't
172172
# manually set it as part of their own CMake configuration).
173-
set(SWIFT_VERSION "5.6")
173+
set(SWIFT_VERSION "5.6.1")
174174

175175
set(SWIFT_VENDOR "" CACHE STRING
176176
"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.6) 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.6) 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.6.1) 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.6.1) 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: 6
5-
// CHECK: key.version_patch: 0
5+
// CHECK: key.version_patch: 1

tools/SourceKit/lib/SwiftLang/SwiftASTManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,6 @@ ASTUnitRef ASTBuildOperation::buildASTUnit(std::string &Error) {
10501050
Error = "compilation setup failed";
10511051
return nullptr;
10521052
}
1053-
CompIns.getASTContext().CancellationFlag = CancellationFlag;
10541053
if (CompIns.loadStdlibIfNeeded()) {
10551054
LOG_WARN_FUNC("Loading the stdlib failed");
10561055
Error = "Loading the stdlib failed";

unittests/SourceKit/SwiftLang/CursorInfoTest.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ TEST_F(CursorInfoTest, CursorInfoMustWaitDueTokenRace) {
417417
EXPECT_EQ(strlen("fog"), Info.Length);
418418
}
419419

420-
TEST_F(CursorInfoTest, CursorInfoCancelsPreviousRequest) {
420+
// Disabled until we re-enable cancellation (rdar://91251055)
421+
TEST_F(CursorInfoTest, DISABLED_CursorInfoCancelsPreviousRequest) {
421422
// TODO: This test case relies on the following snippet being slow to type
422423
// check so that the first cursor info request takes longer to execute than it
423424
// takes time to schedule the second request. If that is fixed, we need to
@@ -467,7 +468,8 @@ TEST_F(CursorInfoTest, CursorInfoCancelsPreviousRequest) {
467468
llvm::report_fatal_error("Did not receive a resonse for the first request");
468469
}
469470

470-
TEST_F(CursorInfoTest, CursorInfoCancellation) {
471+
// Disabled until we re-enable cancellation (rdar://91251055)
472+
TEST_F(CursorInfoTest, DISABLED_CursorInfoCancellation) {
471473
// TODO: This test case relies on the following snippet being slow to type
472474
// check so that the first cursor info request takes longer to execute than it
473475
// takes time to schedule the second request. If that is fixed, we need to

utils/build_swift/build_swift/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
CMAKE_GENERATOR = 'Ninja'
5050

5151
COMPILER_VENDOR = 'none'
52-
SWIFT_USER_VISIBLE_VERSION = Version('5.6')
52+
SWIFT_USER_VISIBLE_VERSION = Version('5.6.1')
5353
CLANG_USER_VISIBLE_VERSION = Version('13.0.0')
5454
SWIFT_ANALYZE_CODE_COVERAGE = 'false'
5555

0 commit comments

Comments
 (0)