Commit Graph

2 Commits

Author SHA1 Message Date
Alexis Laferrière
b9a7034b2f [Tests] Update swiftinterface imports Swift 6 test
Update the test for imports defaulting to internal by adding the
explicit `public` modifier on all imports and the expected warnings.
Modernized a test somehow as it can't use previously shared files.

This revealed an issue with the warning about superfluous imports on
imports of submodules. I've marked one of them as a FIXME as it will
require a fix in the diagnostic.
2023-10-11 17:18:03 -07:00
Alexis Laferrière
eaf74b280b [ModuleInterface] Extract the Swift 6 variant from imports.swift
This allows us to limit the test to asserts compiler supporting
-swift-version 6.

rdar://115578753
2023-09-18 10:54:35 -07:00