unyt-org/datex
Remove result / option return type for arithmentic operators
Aperta
#530 aperta il 19 dic 2025
good first issue
Metriche repository
- Star
- (14 stelle)
- Metriche merge PR
- (Merge medio 53g 4h) (6 PR mergiate in 30 g)
Descrizione
- deprecate Option for TypedInteger addition / substraction https://github.com/unyt-org/datex-core/blob/release/0.0.7/src/values/core_values/integer/typed_integer.rs
- Perform a wrap-around if we go out of range with an operation
var x: integer/i32 = 2147483647; x + 1 // -2147483648 var x: integer/u8= 255; x + 1 // 0