From fd74479a2bf2e4ccc35d1c2fa206de8f28be1e54 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 16:28:57 -0400 Subject: Deprecate optional '?' postfix operator --- CHANGES.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CHANGES.md') diff --git a/CHANGES.md b/CHANGES.md index 1e0b840e..dd015b5f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # Version History -## v0.4 +## v1.0 - Tomo libraries are now installed to `$TOMO_PATH/lib/tomo_vX.Y/module_vZ.W` instead of `$TOMO_PATH/share/tomo_vX.Y/installed/module_vZ.W` - Core libraries are no longer shipped with the compiler, they have moved to @@ -14,6 +14,8 @@ - Tables now have `and`, `or`, `xor`, and `-` (minus) metamethods. - Deprecated `extern` keyword for declaring external symbols from C. - Use `C_code` instead. +- Deprecated the postfix `?` to make values optional. + - Explicitly optional values can be declared as `my_var : T? = value`. - Added a `--format` flag to the `tomo` binary that autoformats your code (currently unstable, do not rely on it just yet). - Standardized text methods for Unicode encodings: -- cgit v1.2.3