Thread overview | |||||
---|---|---|---|---|---|
|
November 03, 2012 [Issue 8952] New: nested structs with conext pointers fail | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8952 Summary: nested structs with conext pointers fail Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: monarchdodra@gmail.com --- Comment #0 from monarchdodra@gmail.com 2012-11-03 03:00:20 PDT --- Nesting a struct with a context pointer into another will fail. //---- import std.stdio; void main() { int a; struct S { void doit() { writeln("pre ++a"); ++a; writeln("post ++a"); } } static struct SS { S s; } SS ss; ss.s.doit(); } //---- pre ++a object.Error: Access Violation //---- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 03, 2012 [Issue 8952] nested structs with conext pointers fail | ||||
---|---|---|---|---|
| ||||
Posted in reply to monarchdodra@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=8952 Maxim Fomin <maxim@maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim@maxim-fomin.ru --- Comment #1 from Maxim Fomin <maxim@maxim-fomin.ru> 2012-11-03 06:44:51 PDT --- And this one is even more closer to issue 8923 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 08, 2012 [Issue 8952] nested structs with conext pointers fail | ||||
---|---|---|---|---|
| ||||
Posted in reply to monarchdodra@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=8952 Denis Shelomovskij <verylonglogin.reg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |verylonglogin.reg@gmail.com Resolution| |DUPLICATE --- Comment #2 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-11-08 18:33:29 MSK --- *** This issue has been marked as a duplicate of issue 8923 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation