[Issue 10833] New: DMD puts mixin's source code in the binary

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 16 15:23:13 PDT 2013


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

           Summary: DMD puts mixin's source code in the binary
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: temtaime at gmail.com


--- Comment #0 from Temtaime <temtaime at gmail.com> 2013-08-16 15:23:12 PDT ---
import std.stdio;

string foo()() {
    return `void main() { writefln("hello world"); }`;
}

mixin(foo);

Compiled with -O -release

Copy from IDA PRO strings window:
.CRT$XIA:0043F100 00000029 C void main() { writefln(\"hello world\"); }

-- 
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