digitalmars.D.bugs - [Issue 1333] New: -inline ICE: passing an array element to an inner class's constructor in a nested function, all in a class or struct
- d-bugmail puremagic.com (32/32) Jul 11 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1333
- d-bugmail puremagic.com (9/9) Jul 30 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1333
http://d.puremagic.com/issues/show_bug.cgi?id=1333 Summary: -inline ICE: passing an array element to an inner class's constructor in a nested function, all in a class or struct Product: D Version: 1.018 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: deewiant gmail.com Gotta love these "summaries". // or class Outer struct Outer { class Inner { this(int) {} } int[] a; void f() { void nested() { new Inner(a[0]); } nested(); } } The above code compiles fine normally, but with -inline, DMD gives "Assertion failure: 'ids->vthis' on line 505 in file 'inline.c'". --
Jul 11 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1333 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla digitalmars.com 2007-07-30 15:52 ------- Fixed DMD 1.019 and 2.003 --
Jul 30 2007