http://d.puremagic.com/issues/show_bug.cgi?id=5365
Summary: Regression (2.051) alias this causes segfault Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: samu...@voliacable.com --- Comment #0 from Max Samukha <samu...@voliacable.com> 2010-12-23 02:19:35 PST --- The following compiles and runs correctly with dmd 2.050, but segfaults with dmd 2.051 interface IFactory { void foo(); } class A { protected static class Factory : IFactory { void foo() { } } this() { _factory = createFactory(); } protected IFactory createFactory() { return new Factory; } private IFactory _factory; @property final IFactory factory() { return _factory; } alias factory this; } void main() { IFactory f = new A; f.foo(); // segfault } Critical for QtD. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------