Re: Is it bad for object.di to depend on core.exception?

2012-03-07 Thread H. S. Teoh
On Wed, Mar 07, 2012 at 08:06:55PM -0800, Sean Kelly wrote: > On Mar 3, 2012, at 6:45 PM, H. S. Teoh wrote: > > > So I'm still working on fixing issue 5030, which *should* have been a > > trivial fix. But I'm running into a bunch of circumstantial problems, > > among which is this new method in As

Re: Is it bad for object.di to depend on core.exception?

2012-03-07 Thread Sean Kelly
On Mar 3, 2012, at 6:45 PM, H. S. Teoh wrote: > So I'm still working on fixing issue 5030, which *should* have been a > trivial fix. But I'm running into a bunch of circumstantial problems, > among which is this new method in AssociativeArray(Key,Value): > >Value opIndex(Key key, string file=

Re: Is it bad for object.di to depend on core.exception?

2012-03-07 Thread H. S. Teoh
On Thu, Mar 08, 2012 at 12:37:20PM +1100, Daniel Murphy wrote: > "H. S. Teoh" wrote in message > news:mailman.176.1331147910.4860.digitalmar...@puremagic.com... > > On Sun, Mar 04, 2012 at 07:31:49AM +0100, Martin Nowak wrote: > >> Wasn't the latest proposal that we add a working AA implementatio

Re: Is it bad for object.di to depend on core.exception?

2012-03-07 Thread Daniel Murphy
"H. S. Teoh" wrote in message news:mailman.176.1331147910.4860.digitalmar...@puremagic.com... > On Sun, Mar 04, 2012 at 07:31:49AM +0100, Martin Nowak wrote: >> Wasn't the latest proposal that we add a working AA implementation to >> the runtime and switch the compiler after that has settled? > >

Re: Is it bad for object.di to depend on core.exception?

2012-03-07 Thread H. S. Teoh
On Sun, Mar 04, 2012 at 07:31:49AM +0100, Martin Nowak wrote: > Wasn't the latest proposal that we add a working AA implementation to > the runtime and switch the compiler after that has settled? Is somebody working on that? If not, I may take a crack at doing it. And by runtime you mean object_.

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread Martin Nowak
T Wasn't the latest proposal that we add a working AA implementation to the runtime and switch the compiler after that has settled?

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread H. S. Teoh
On Sun, Mar 04, 2012 at 03:24:47PM +1100, Daniel Murphy wrote: > "Andrei Alexandrescu" wrote in message > news:jiuol3$rqb$1...@digitalmars.com... [...] > > I think we must migrate the arrays into the runtime. > > > > Andrei > > I know. It was before my time, but I assume you were the one who >

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread H. S. Teoh
On Sun, Mar 04, 2012 at 03:34:26PM +1100, Daniel Murphy wrote: > "H. S. Teoh" wrote in message > news:mailman.372.1330833051.24984.digitalmar...@puremagic.com... [...] > > Is that when struct AssociativeArray came into being? I'm still > > trying to understand how exactly AssociativeArray is conn

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread Daniel Murphy
"H. S. Teoh" wrote in message news:mailman.372.1330833051.24984.digitalmar...@puremagic.com... >> Then, a few of years ago they were moved into druntime, so that the >> implementation and interface could be improved without modifying the >> compiler. > > Is that when struct AssociativeArray came

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread Daniel Murphy
"Andrei Alexandrescu" wrote in message news:jiuol3$rqb$1...@digitalmars.com... > On 3/3/12 9:19 PM, Daniel Murphy wrote: >> We're basically stuck with this until someone comes up with a solution >> that >> lets everything work as it should, with AAs completely in the runtime or >> the >> compil

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread H. S. Teoh
On Sat, Mar 03, 2012 at 09:47:49PM -0600, Andrei Alexandrescu wrote: > On 3/3/12 9:19 PM, Daniel Murphy wrote: > >We're basically stuck with this until someone comes up with a > >solution that lets everything work as it should, with AAs completely > >in the runtime or the compiler. > > I think we

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread H. S. Teoh
On Sun, Mar 04, 2012 at 02:19:42PM +1100, Daniel Murphy wrote: > "H. S. Teoh" wrote in message [...] > > But perhaps a more pertinent question is, why is there so much > > duplication between aaA.d and object.AssociativeArray? For example, > > object.AssociativeArray basically copies (with modifi

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread Andrei Alexandrescu
On 3/3/12 9:19 PM, Daniel Murphy wrote: We're basically stuck with this until someone comes up with a solution that lets everything work as it should, with AAs completely in the runtime or the compiler. I think we must migrate the arrays into the runtime. Andrei

Re: Is it bad for object.di to depend on core.exception?

2012-03-03 Thread Daniel Murphy
"H. S. Teoh" wrote in message news:mailman.370.1330829036.24984.digitalmar...@puremagic.com... > So I'm still working on fixing issue 5030, which *should* have been a > trivial fix. But I'm running into a bunch of circumstantial problems, > among which is this new method in AssociativeArray(Key,V

Is it bad for object.di to depend on core.exception?

2012-03-03 Thread H. S. Teoh
So I'm still working on fixing issue 5030, which *should* have been a trivial fix. But I'm running into a bunch of circumstantial problems, among which is this new method in AssociativeArray(Key,Value): Value opIndex(Key key, string file=__FILE__, size_t line=__LINE__) { auto p = k