digitalmars.D.bugs - [Issue 7202] New: Hole in type system still present for delegates
- d-bugmail puremagic.com (29/29) Jan 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7202
- d-bugmail puremagic.com (11/11) Jan 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7202
- d-bugmail puremagic.com (10/10) Aug 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7202
http://d.puremagic.com/issues/show_bug.cgi?id=7202 Summary: Hole in type system still present for delegates Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: timon.gehr gmx.ch For example: void main() { void delegate() system x = {writeln("I am system");}; void delegate() safe y = {}; auto px = &x; auto py = &y; px = py; // accepts-invalid *px = x; y(); // "I am system" } The equivalent example with function pointers already results in a compile error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7202 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Will be fixed by my patch: https://github.com/D-Programming-Language/dmd/pull/558 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7202 Maxim Fomin <maxim maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |maxim maxim-fomin.ru Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 05 2013