[Issue 1254] Using a parameter initialized to void in a compile-time evaluated function doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 2 10:52:27 PDT 2007


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





------- Comment #1 from bugzilla at digitalmars.com  2007-06-02 12:52 -------
The compiler is allowed to issue errors for "use before initialized" problems,
although it is not required to detect them.

On a pragmatic note, I can't see anything good coming from supporting using the
values of uninitialized variables in CTFE.

The error message missing file/line info is still a bug, though.


-- 



More information about the Digitalmars-d-bugs mailing list