Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
[X] Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.
Description
Given graph A -> B -> BTests. BTests should not be able to testable import A. See the attached repro project. repro.zip
The issue with the current behavior is the following graph causes a huge amount of code to be rebuilt with no value: swift-syntax -> MMIOMacros -> MMIOMacrosTests
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
Given graph
A -> B -> BTests
.BTests
should not be able totestable import A
. See the attached repro project. repro.zipThe issue with the current behavior is the following graph causes a huge amount of code to be rebuilt with no value:
swift-syntax -> MMIOMacros -> MMIOMacrosTests