July 11, 2007 [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 | ||||
---|---|---|---|---|
| ||||
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'". -- |
July 30, 2007 [Issue 1333] -inline ICE: passing an array element to an inner class's constructor in a nested function, all in a class or struct | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
Copyright © 1999-2021 by the D Language Foundation