tomhrr / dale

Lisp-flavoured C
BSD 3-Clause "New" or "Revised" License
1.03k stars 48 forks source link

void-functions have to return void explicitely in many cases #95

Closed porky11 closed 7 years ago

porky11 commented 8 years ago

When functions return void, I have to return it explicitly normally, else it shows errors for returning the wrong type. For void-functions I don't want to think about the return-type of the last expression. It should just work.

tomhrr commented 8 years ago

On Tue, Sep 13, 2016 at 02:24:39AM -0700, Fabio Krapohl wrote:

When functions return void, I have to return it explicitly normally, else it shows errors for returning the wrong type. For void-functions I don't want to think about the return-type of the last expression. It should just work.

Thanks, this has been fixed.