February 19, 2014 [Issue 6417] Wrong context for nested functions in virtual class member function contracts | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=6417 Denis Shelomovskij <verylonglogin.reg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |verylonglogin.reg@gmail.com Summary|Wrong context pointer for |Wrong context for nested |delegates inside contracts |functions in virtual class |of class member functions |member function contracts --- Comment #3 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2014-02-19 19:50:12 MSK --- This is for virtual class member functions only, reduced testcase: --- final class C { void f() in // or `out` { int i = 7; void g() { assert(i == 7); } g(); } body { } } void main() { new C().f(); } --- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation