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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Temtaime <[email protected]> 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: -------