https://d.puremagic.com/issues/show_bug.cgi?id=12413
Summary: Infinite recursion of `Package::search`
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2014-03-19
19:32:58 MSK ---
This code causes an infinite recursion in dmd:
---
mixin template t()
{ static import std.ascii; }
class C
{
mixin t!();
void f() { std.x; }
}
---
At the end of `Package::search` `pkg->search` is called for `pkg =
enclosingPkg()` if any, and `pkg == this` so we call ourselves.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------