Now we have assertion messages

Frank Benoit keinfarbton at nospam.xyz
Tue Jun 6 15:25:21 PDT 2006


Now we have the messages for the assertions. And this can be used to
help a D newbie very much with the error in this program:

/**/ import std.stdio;
/**/ int main( char[][] args ){
/**/   foreach( s; args ){
/**/     writefln( a );
/**/   }
/**/ }

gives:
Error: AssertError Failure m.d(6)

Feature request: Please add the message "missing return statement at
function exit"



More information about the Digitalmars-d mailing list