I spent about an hour tonight tracking down a weird bug where it turned out I 
had a proc with a return value, but I forgot to return a value. This compiled 
fine, but ran wrong. I assume what happened is that the implicit return value 
was returned, with the default value for the type. Should it perhaps be a 
compiler error if no value is returned and the return value is never assigned 
to anywhere in the proc? Or at least a warning?

Reply via email to