File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2- // RUN: %target-swift-emit-module-interface(%t/Library.swiftinterface) %s -module-name Library -plugin-path %swift-plugin-dir -disable-availability-checking
3- // RUN: %target-swift-typecheck-module-from-interface(%t/Library.swiftinterface) -module-name Library -disable-availability-checking
2+ // RUN: %target-swift-emit-module-interface(%t/Library.swiftinterface) %s -package-name Library - module-name Library -plugin-path %swift-plugin-dir -disable-availability-checking
3+ // RUN: %target-swift-typecheck-module-from-interface(%t/Library.swiftinterface) -package-name Library - module-name Library -disable-availability-checking
44// RUN: %FileCheck %s < %t/Library.swiftinterface
55
66// REQUIRES: swift_swift_parser
@@ -15,6 +15,7 @@ import Observation
1515@Observable
1616public class SomeClass {
1717 public var field = 3
18+ package var test = 4
1819 @ObservationIgnored public var ignored = 4
1920}
2021
Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ public class PublicContainsWeak {
3131 public weak var obj : AnyObject ? = nil
3232}
3333
34- @Observable
35- class ContainsPackage {
36- package var contents : Int = 0
37- }
38-
3934@Observable
4035class ContainsUnowned {
4136 unowned var obj : AnyObject ? = nil
You can’t perform that action at this time.
0 commit comments