[Issue 6432] New: Compilation doesn't terminate on a recursive mixin error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 3 02:40:42 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6432
Summary: Compilation doesn't terminate on a recursive mixin
error
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: samukha at voliacable.com
--- Comment #0 from Max Samukha <samukha at voliacable.com> 2011-08-03 02:40:28 PDT ---
mixin template Foo(A...)
{
mixin Foo!(Bar, A);
}
mixin Foo!();
test.d(5): Error: undefined identifier Bar
test.d(5): Error: undefined identifier Bar
test.d(5): Error: undefined identifier Bar
...
The error will be printed repeatedly until the maximum recursion depth is
reached.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list