CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 2 04:01:55 PDT 2016


On Tuesday, 1 November 2016 at 21:12:06 UTC, Nordlöw wrote:
> On Tuesday, 1 November 2016 at 19:28:03 UTC, Stefan Koch wrote:
>> Now a phobos unittest miscompiles :(
>>
>> Again passing the unittests does not mean too much.
>> I just means I bail out before I generate invalid code :)
>
> Keep up!

I am now passing phobos unittests!
However please take it with a grain of salt ;)
The following line resbonsible for baling out of functions I know 
are failing.

	if (fd.ident == Identifier.idPool("isRooted") || fd.ident == 
Identifier.idPool("__lambda2") || fd.ident == 
Identifier.idPool("divideRoundUp") || fd.ident == 
Identifier.idPool("isSameLength") || fd.ident == 
Identifier.idPool("wrapperParameters") || fd.ident == 
Identifier.idPool("wrap") || fd.ident == 
Identifier.idPool("args"))
		{
			IGaveUp = true;
			return ;
		}

I am working on reducing test-cases to figure out why this is 
failing.
The code is burried in templates makeing it hard to see what is 
going on.

Still passing the tests is passing the tests :)



More information about the Digitalmars-d mailing list