Skip to content

Commit 2e86896

Browse files
committed
Disable _Concurrency import in one more test
1 parent 01298df commit 2e86896

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/SourceKit/DocSupport/doc_internal_closure_label.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %empty-directory(%t.module-cache)
33
//
4-
// RUN: %target-swift-frontend -typecheck -emit-module-interface-path %t/label.swiftinterface -enable-library-evolution -module-cache-path %t.module-cache %s
4+
// RUN: %target-swift-frontend -typecheck -disable-implicit-concurrency-module-import -emit-module-interface-path %t/label.swiftinterface -enable-library-evolution -module-cache-path %t.module-cache %s
55
// RUN: %FileCheck --check-prefix=SWIFT_INTERFACE %s < %t/label.swiftinterface
6-
// RUN: %sourcekitd-test -req=doc-info -module label -- -I %t -target %target-triple -module-cache-path %t.module-cache > %t.response
6+
// RUN: %sourcekitd-test -req=doc-info -module label -- -Xfrontend -disable-implicit-concurrency-module-import -I %t -target %target-triple -module-cache-path %t.module-cache > %t.response
77
// RUN: %diff -u %s.response %t.response
88
//
99
// RUN: %empty-directory(%t)
1010
// RUN: %empty-directory(%t.module-cache)
11-
// RUN: %target-swift-frontend -emit-module %s -module-name label -emit-module-path %t/label.swiftmodule -module-cache-path %t.module-cache
12-
// RUN: %sourcekitd-test -req=doc-info -module label -- -I %t -target %target-triple -module-cache-path %t.module-cache> %t.response
11+
// RUN: %target-swift-frontend -emit-module %s -disable-implicit-concurrency-module-import -module-name label -emit-module-path %t/label.swiftmodule -module-cache-path %t.module-cache
12+
// RUN: %sourcekitd-test -req=doc-info -module label -- -Xfrontend -disable-implicit-concurrency-module-import -I %t -target %target-triple -module-cache-path %t.module-cache> %t.response
1313
// RUN: %diff -u %s.response %t.response
1414

1515
public func foo(_ callback: (_ myInternalParam: Int) -> Void) {}

0 commit comments

Comments
 (0)