File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 19
19
20
20
//--- main.swift
21
21
@_exported public import resilient // expected-warning {{public import of 'resilient' was not used in public declarations or inlinable code}}
22
- public import B. B2 // expected-warning {{public import of 'B2' was not used in public declarations or inlinable code}}
23
- // expected-warning @-1 {{public import of 'B' was not used in public declarations or inlinable code}}
24
- // FIXME: We don't want this last warning.
22
+ public import B. B2 // expected-warning {{public import of 'B' was not used in public declarations or inlinable code}}
25
23
26
24
public import func C. c // expected-warning {{public import of 'C' was not used in public declarations or inlinable code}}
27
25
// expected-warning @-1 {{scoped imports are not yet supported in module interfaces}}
@@ -34,8 +32,7 @@ public import NotSoSecret2 // expected-warning {{'NotSoSecret2' inconsistently i
34
32
35
33
//--- main-other.swift
36
34
public import A // expected-warning {{public import of 'A' was not used in public declarations or inlinable code}}
37
- public import B. B3 // expected-warning {{public import of 'B3' was not used in public declarations or inlinable code}}
38
- // expected-warning @-1 {{public import of 'B' was not used in public declarations or inlinable code}}
35
+ public import B. B3 // expected-warning {{public import of 'B' was not used in public declarations or inlinable code}}
39
36
public import D // expected-warning {{public import of 'D' was not used in public declarations or inlinable code}}
40
37
41
38
public import NotSoSecret // expected-warning {{'NotSoSecret' inconsistently imported as implementation-only}}
You can’t perform that action at this time.
0 commit comments