Documentation note: int with value 0 not same as false #931
quanglewangle
started this conversation in
General
Replies: 1 comment
-
|
Yes, In general ghūl, by design, doesn't do any implicit type conversion except up the inheritance hierarchy. You can assign instances of Also, none of the built in operators do any implicit type conversion - you can't add integers to characters, or bytes, or signed values to unsigned values, etc. without explicitly casting. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Note for documentation: condition in if then must evaluate to boolean and an int with value 0 is not the same as false
Beta Was this translation helpful? Give feedback.
All reactions