Unverified Commit 09ec0004 authored by Ian Anderson's avatar Ian Anderson Committed by GitHub
Browse files

[Modules] textual headers in submodules never resolve their `use`s (#69651)

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.
parent 34a3fb9f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment