rthornton128 / calc

BSD 2-Clause "Simplified" License
65 stars 12 forks source link

if condition must be int type #17

Closed rthornton128 closed 10 years ago

rthornton128 commented 10 years ago

Right now, it can hold any expression and doesn't have to resolve to anything, which is an error. The condition must have a side effect of type int.