https://issues.dlang.org/show_bug.cgi?id=16673

--- Comment #6 from Martin Nowak <c...@dawg.eu> ---
Should be fairly easy with the new 2-step lookup process (SearchLocalsOnly,
SearchImportsOnly), just instrument all symbol searches in expression.d to tag
the current scope's func as usesImports, when only the SearchImportsOnly lookup
returns a symbol.
Furthermore CallExp's using such functions also need to tag their scope's
function to make it work transitively.

--

Reply via email to