digitalmars.D - Now we have assertion messages
- Frank Benoit (12/12) Jun 06 2006 Now we have the messages for the assertions. And this can be used to
- Sean Kelly (3/18) Jun 06 2006 Great idea.
- Brad Roberts (7/25) Jun 06 2006 Funny you should say that.. I started going through the front end last
- Jarrett Billingsley (3/5) Jun 06 2006 I was just thinking about this today when I was mowing the lawn!
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"
Jun 06 2006
Frank Benoit wrote: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"Great idea. Sean
Jun 06 2006
On Tue, 6 Jun 2006, Sean Kelly wrote:Frank Benoit wrote:Funny you should say that.. I started going through the front end last night looking at those.. I'll attach a patch to a bug tonight or tomorrow unless someone beats me to it (that includes you Walter). If anyone else wants to do it, speak up to avoid duplication of effort. Later, BradNow 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"Great idea.
Jun 06 2006
"Frank Benoit" <keinfarbton nospam.xyz> wrote in message news:e64vcd$1iol$1 digitaldaemon.com...Feature request: Please add the message "missing return statement at function exit"I was just thinking about this today when I was mowing the lawn!
Jun 06 2006