Yet more OPTLINK woes

2010-05-12 Thread Daniel Keep
That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] *sigh* I'm writing a math eval library. There are two test applications. LexerTest only touches part of the code. AstTest touches everything. Now, the following works and creates an executable:

Re: Yet more OPTLINK woes

2010-05-12 Thread Simen kjaeraas
Daniel Keep daniel.keep.li...@gmail.com wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] [...] Does anyone have any idea, any idea at all, on what could be causing this? I've tried everything myself and several others on #d could think

Re: Yet more OPTLINK woes

2010-05-12 Thread div0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simen kjaeraas wrote: Daniel Keep daniel.keep.li...@gmail.com wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] [...] Does anyone have any idea, any idea at all, on what could be causing

Re: Yet more OPTLINK woes

2010-05-12 Thread torhu
On 12.05.2010 13:22, Daniel Keep wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] *sigh* I'm writing a math eval library. There are two test applications. LexerTest only touches part of the code. AstTest touches everything. Now, the

Re: Yet more OPTLINK woes

2010-05-12 Thread Don
div0 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simen kjaeraas wrote: Daniel Keep daniel.keep.li...@gmail.com wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] [...] Does anyone have any idea, any idea at all, on what could be

Re: unittests and templates

2010-05-12 Thread bearophile
Steven Schveighoffer: class ArrayList(V) { V take() {...} unittest { auto al = new ArrayList!uint; ... That unit test is the test of just take(). To denote it in my code I add a comment: class ArrayList(V) { V take() {...} unittest { // Test of take() ...