Re: AssociativeArray.opIndex

2012-03-03 Thread Daniel Murphy
"Jonathan M Davis" wrote in message news:mailman.354.1330804749.24984.digitalmar...@puremagic.com... > On Saturday, March 03, 2012 22:50:10 Daniel Murphy wrote: >> "H. S. Teoh" wrote in message >> news:mailman.341.1330753339.24984.digitalmar...@puremagic.com... >> >> > Value opIndex(Key key, in

Re: AssociativeArray.opIndex

2012-03-03 Thread Daniel Murphy
"H. S. Teoh" wrote in message news:mailman.350.1330790511.24984.digitalmar...@puremagic.com... > On Sat, Mar 03, 2012 at 10:50:10PM +1100, Daniel Murphy wrote: >> "H. S. Teoh" wrote in message >> news:mailman.341.1330753339.24984.digitalmar...@puremagic.com... >> > Value opIndex(Key key, int fil

Re: AssociativeArray.opIndex

2012-03-03 Thread Jonathan M Davis
On Saturday, March 03, 2012 22:50:10 Daniel Murphy wrote: > "H. S. Teoh" wrote in message > news:mailman.341.1330753339.24984.digitalmar...@puremagic.com... > > > Value opIndex(Key key, int file=__FILE__, int line=__LINE__) > > The AssociateArray stuct has semantic run on it with errors gagged.

Re: AssociativeArray.opIndex

2012-03-03 Thread H. S. Teoh
On Sat, Mar 03, 2012 at 10:50:10PM +1100, Daniel Murphy wrote: > "H. S. Teoh" wrote in message > news:mailman.341.1330753339.24984.digitalmar...@puremagic.com... > > Value opIndex(Key key, int file=__FILE__, int line=__LINE__) > > The AssociateArray stuct has semantic run on it with errors gagge

Re: AssociativeArray.opIndex

2012-03-03 Thread Alix Pexton
On 03/03/2012 11:50, Daniel Murphy wrote: "H. S. Teoh" wrote in message news:mailman.341.1330753339.24984.digitalmar...@puremagic.com... Value opIndex(Key key, int file=__FILE__, int line=__LINE__) The AssociateArray stuct has semantic run on it with errors gagged. Spot the error in the line

Re: AssociativeArray.opIndex

2012-03-03 Thread Daniel Murphy
"H. S. Teoh" wrote in message news:mailman.341.1330753339.24984.digitalmar...@puremagic.com... > Value opIndex(Key key, int file=__FILE__, int line=__LINE__) The AssociateArray stuct has semantic run on it with errors gagged. Spot the error in the line above! If you're messing with dmd, try e

Re: AssociativeArray.opIndex

2012-03-03 Thread David Nadlinger
On Saturday, 3 March 2012 at 05:42:19 UTC, H. S. Teoh wrote: dmd: mtype.c:4411: StructDeclaration* TypeAArray::getImpl(): Assertion `impl' failed. […] src/core/thread.d(2835): Error: undefined identifier module thread.keys These two error messages indicate that the AssociativeArray template

AssociativeArray.opIndex

2012-03-02 Thread H. S. Teoh
In attempting to fix issue 5030, I'm finding that defining AssociativeArray.opIndex gives an odd error when druntime is compiled: dmd: mtype.c:4411: StructDeclaration* TypeAArray::getImpl(): Assertion `impl' failed. This error only happens when opIndex is declared like this: