The following:
void main(){
foreach(divisor; !(2, 3, 4, 8, 7, 9))
foreach(v; 0..uint.max)//comment this out and it compiles
{
}
}
Crashes DMD 2.061beta with:
fastdiv.d(79): Error: invalid foreach aggregate false
Assertion failure: '0' on line 2660 in file 'statement.c'
abnormal program termination
2.060 produces same results.