You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// CHECK-MOVED: LibWithXRef.swiftmodule:1:1: remark: reference to type 'MyType' broken by a context change; 'MyType' was expected to be in 'A', but now a candidate is found only in 'A_related'
17
+
// CHECK-MOVED: LibWithXRef.swiftmodule:1:1: remark: reference to type 'BrokenType' broken by a context change; 'BrokenType' was expected to be in 'A', but now a candidate is found only in 'A_related'
18
18
19
19
/// Contextual notes about the modules involved.
20
20
// CHECK-MOVED: note: the type was expected to be found in module 'A' at '
@@ -32,10 +32,16 @@
32
32
// CHECK-MOVED-SAME: LibWithXRef.swiftmodule'
33
33
// CHECK-MOVED: note: declarations in the underlying clang module 'A' may be hidden by clang preprocessor macros
34
34
// CHECK-MOVED: note: the distributed module 'LibWithXRef' refers to the local module 'A'; this may be caused by header maps or search paths
35
-
// CHECK-MOVED: note: the type 'MyType' moved between related modules; clang preprocessor macros may affect headers shared between these modules
35
+
// CHECK-MOVED: note: the type 'BrokenType' moved between related modules; clang preprocessor macros may affect headers shared between these modules
36
36
// CHECK-MOVED: note: could not deserialize type for 'foo()'
37
37
// CHECK-MOVED: error: cannot find 'foo' in scope
38
38
39
+
// CHECK-MOVED: remark: reference to type 'BrokenType' broken by a context change; 'BrokenType' was expected to be in 'A'
40
+
// CHECK-MOVED: note: could not deserialize type for 'init(t:)'
41
+
42
+
// CHECK-MOVED: remark: reference to type 'BrokenType' broken by a context change; 'BrokenType' was expected to be in 'A'
43
+
// CHECK-MOVED: note: could not deserialize type for 'member()'
44
+
39
45
/// Move A to the SDK, triggering a different note about layering.
0 commit comments