https://d.puremagic.com/issues/show_bug.cgi?id=12334
Summary: Cannot access frame pointer of nested class from inside lambda Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2014-03-09 22:06:51 PDT --- From: http://forum.dlang.org/thread/dssheasplbyknhaut...@forum.dlang.org void main() { class B { int a; this(int aa) { a = aa; } } auto foo = { return new B(1); // NG }; static assert(is(typeof(foo) == delegate)); // fails } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------