[AST/Sema] Hide using declaration behind DefaultIsolationPerFile experimental feature

(cherry picked from commit c246a7a372)
This commit is contained in:
Pavel Yaskevich
2025-05-30 00:01:58 -07:00
parent 4f88004fc0
commit d3f8fd8fd7
9 changed files with 31 additions and 5 deletions

View File

@@ -1,9 +1,11 @@
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -enable-experimental-feature DefaultIsolationPerFile
// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface)
// RUN: %FileCheck %s --input-file %t.swiftinterface
// REQUIRES: swift_feature_DefaultIsolationPerFile
using @MainActor
// CHECK-NOT: using @MainActor