diff --git a/content/content/primitives.md b/content/content/primitives.md index 70bc999..d085c5c 100644 --- a/content/content/primitives.md +++ b/content/content/primitives.md @@ -19,7 +19,7 @@ let a: int8 = 0x7F # Works b: uint8 = 0b1111_1111 # Works d = 0xFF # type is int - c: uint8 = 256 # Compile time error + c: uint8 = 256 # Gets truncated to 0, 257 will be 1... ``` Precedence rules are the same as in most other languages, but instead of `^`, `&`, `|`, `>>`, `<<`, the `xor`, `and`, `or`, `shr`, `shl` operators are used, respectively.