Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Modules] textual headers in submodules never resolve their
use
s
When an include from a textual header is resolved, the textual header's submodule is used as the requesting module. The submodule's uses are resolved, but that doesn't work because only top level modules have uses, and only the top level module uses are used for checking uses in Module::directlyUses. ModuleMap::resolveUses to resolve the top level module instead of the submodule. --- This fixes the build of std.pcm with MacOSX15.0.sdk.
- Loading branch information