Asserts inside nothrow function

Don nospam at nospam.com
Sat May 23 11:31:44 PDT 2009


Walter Bright wrote:
> Denis Koroskin wrote:
>> BTW, an attempts to use it leads to an ICE:
>> Assertion failure: '0' on line 939 in file 'glue.c'
> 
> Please add these with a reproducible test case to bugzilla.
It's probably a duplicate of 854=2863=2251?, which there's already a 
patch for. It's the most duplicated bug in the history of D bugzilla.

Here's the minimal case for 854.

template Foo(T...) {
     alias T Foo;
}
void main() {
     auto y = (Foo!(int) x){ return 0; };
}



More information about the Digitalmars-d mailing list