Re: In/out contract inheritance in gdc

2012-04-18 Thread Joseph Rushton Wakeling
On 17/04/12 21:16, Daniel Green wrote: On 4/17/2012 9:44 AM, Joseph Rushton Wakeling wrote: Shall I make a new bug report? Is it preferred at BitBucket or GitHub? Please do. We're still using BitBucket at the moment. OK, done: https://bitbucket.org/goshawk/gdc/issue/333/in-out-contract-over

Re: In/out contract inheritance in gdc

2012-04-17 Thread Joseph Rushton Wakeling
On 17/04/12 22:56, Iain Buclaw wrote: I can't reproduce this or the bug in puremagic on my build, so I will go on the assumption this will be fixed in the 4.7.0 package due to ship with Ubuntu at the end of the month. Oh, fantastic! Very pleased to hear that 4.7.0 will be making it into Precis

Re: In/out contract inheritance in gdc

2012-04-17 Thread Iain Buclaw
On 14 April 2012 02:17, Joseph Rushton Wakeling wrote: > On 14/04/12 02:11, Leandro Lucarella wrote: >> >> Doesn't look exactly like the same problem, but just in case, you might >> want to take a look at this bug: >> http://d.puremagic.com/issues/show_bug.cgi?id=7699 > > > Hmmm.  Compiling still

Re: In/out contract inheritance in gdc

2012-04-17 Thread Daniel Green
On 4/17/2012 9:44 AM, Joseph Rushton Wakeling wrote: Shall I make a new bug report? Is it preferred at BitBucket or GitHub? Please do. We're still using BitBucket at the moment.

Re: In/out contract inheritance in gdc

2012-04-17 Thread Joseph Rushton Wakeling
On 14/04/12 02:11, Leandro Lucarella wrote: Doesn't look exactly like the same problem, but just in case, you might want to take a look at this bug: http://d.puremagic.com/issues/show_bug.cgi?id=7699 Here's a minimal(-ish) example that reproduces the problem (with or without -inline statement

Re: In/out contract inheritance in gdc

2012-04-13 Thread Joseph Rushton Wakeling
On 14/04/12 02:11, Leandro Lucarella wrote: Doesn't look exactly like the same problem, but just in case, you might want to take a look at this bug: http://d.puremagic.com/issues/show_bug.cgi?id=7699 Hmmm. Compiling still fails when -inline is removed from the compiler statement, but now ther

Re: In/out contract inheritance in gdc

2012-04-13 Thread Leandro Lucarella
Joseph Rushton Wakeling, el 13 de abril a las 23:36 me escribiste: > Hello all, > > I've come across a compilation problem with gdc 4.6.3 (the package > in the Ubuntu repositories). > > I have some code, available from > https://github.com/WebDrake/SampleD > > ... which uses in contracts on some

In/out contract inheritance in gdc

2012-04-13 Thread Joseph Rushton Wakeling
Hello all, I've come across a compilation problem with gdc 4.6.3 (the package in the Ubuntu repositories). I have some code, available from https://github.com/WebDrake/SampleD ... which uses in contracts on some class functions: a base class has one in contract for one of its methods (lines