[Issue 1025] New: mixin("scope(exit) call();"); is broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 5 09:09:46 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1025
Summary: mixin("scope(exit) call();"); is broken
Product: D
Version: 1.007
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: wrong-code
Severity: major
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: tomas at famolsen.dk
import std.stdio;
void main()
{
mixin("writefln('A');");
mixin("scope(exit) writefln('C');");
mixin("writefln('B');");
}
// outputs ACB
--
More information about the Digitalmars-d-bugs
mailing list