[Issue 3958] New: mixin(non-static method) crashes compiler
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 13 14:53:47 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3958
Summary: mixin(non-static method) crashes compiler
Product: D
Version: 1.057
Platform: All
URL: http://thecybershadow.net/
OS/Version: All
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir <thecybershadow at gmail.com> 2010-03-13 14:53:46 PST ---
struct S
{
string g() { return ""; }
void f() { mixin(g()); }
}
Making g() static stops DMD from crashing.
--
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