base 1 bug in std.string.toString?

Frank Benoit keinfarbton at nospam.xyz
Mon Aug 21 10:41:59 PDT 2006


nobody schrieb:
> int main(char[][] args)
> {
>   dout.writeLine(toString(1uL,1u));
>   assert( toString(12uL,1u).length == 12 );
> }

I only want to comment that the missing return statement can also be the
source of the assertion. Either

void main(){
...
}

or


int main( char[][] args ){
...
return 0;
}




More information about the Digitalmars-d-bugs mailing list