[Issue 516] Mutually calling constructors allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 29 15:04:18 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=516





------- Comment #7 from smjg at iname.com  2008-06-29 17:04 -------
Therein lies half the problem.  The spec should make a clear distinction
between things that are actually illegal, things that cause undefined behaviour
and things that the compiler may decide are errors if it's clever enough.

Moreover, I'd read "mutually calling" as meaning that a loop exists in which
constructors call which others, regardless of whether the calls can actually
loop at runtime.


-- 



More information about the Digitalmars-d-bugs mailing list