[Issue 1211] New: mixin("__LINE__")

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 3 10:53:35 PDT 2007


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

           Summary: mixin("__LINE__")
           Product: D
           Version: 1.010
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: rueschi at giquadrat.de


import std.stdio;
void main() { writefln("%d", mixin("__LINE__")); }

Expected output: 2
Actual output: 1 (everywhere)


-- 



More information about the Digitalmars-d-bugs mailing list