Preaching the "bool cannot be an unsigned integer" gospel to our intern.
-
-
i didn't think of implicit conversions from Int to Bool in an operand to the ! operator... do you actually depend on that a lot in current Jai projects? (btw it's kind of awesome that you can write a quick metaprogram to just count/report all the places where that occurs)
-
(guessing that when you wrote "no implicit conversion", you meant from Bool to Int; presumably Int to Bool is allowed if you can write !3)
-
No, it is just that ! is allowed to operate on integer types.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.