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 1
1
// 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
4
4
// RUN: %FileCheck %s < %t/Library.swiftinterface
5
5
6
6
// REQUIRES: swift_swift_parser
@@ -15,6 +15,7 @@ import Observation
15
15
@Observable
16
16
public class SomeClass {
17
17
public var field = 3
18
+ package var test = 4
18
19
@ObservationIgnored public var ignored = 4
19
20
}
20
21
Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ public class PublicContainsWeak {
31
31
public weak var obj : AnyObject ? = nil
32
32
}
33
33
34
- @Observable
35
- class ContainsPackage {
36
- package var contents : Int = 0
37
- }
38
-
39
34
@Observable
40
35
class ContainsUnowned {
41
36
unowned var obj : AnyObject ? = nil
You can’t perform that action at this time.
0 commit comments