diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-04 23:10:43 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-04 23:10:43 -0400 |
| commit | a4cb5ffafc050b519f806f74f0160ad48f76bee6 (patch) | |
| tree | 7a55f9b2e7c680eaccfa81c3734efdda71e848a3 /CHANGES.md | |
| parent | 4cb2ea78760fabcbf526dee5962a6bf4896639f3 (diff) | |
Deprecate `extend`
Diffstat (limited to 'CHANGES.md')
| -rw-r--r-- | CHANGES.md | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -11,15 +11,17 @@ - Syntax for text literals and inline C code has been simplified somewhat. - Syntax for tables has changed to use colons (`{k: v}`) instead of equals (`{k=v}`). -- Deprecated sets. - - Instead of sets, use tables. - - 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`. -- Deprecated `>> ... = ...` form of doctests. They are now called "debug logs" - and you can specify multiple values: `>> a, b, c` +- Deprecated: + - Sets + - Instead of sets, use tables. + - Tables now have `and`, `or`, `xor`, and `-` (minus) metamethods. + - `extern` keyword for declaring external symbols from C. + - Use `C_code` instead. + - Postfix `?` to make values optional. + - Explicitly optional values can be declared as `my_var : T? = value`. + - `>> ... = ...` form of doctests. They are now called "debug logs" and you + can specify multiple values: `>> a, b, c` + - `extend` blocks - Struct fields that start with underscores can be accessed again and function arguments that start with underscore can be passed (but only as keyword arguments). |
