[Issue 9897] Wrong context for nested class inside virtual or final function with contract which uses `this`
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 1 01:03:00 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=9897
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
The class D in C.foo captures 'this' variable on stack, due to access C.ch from
D, then it makes C.foo a closure.
*** This issue has been marked as a duplicate of issue 9383 ***
--
More information about the Digitalmars-d-bugs
mailing list