dot-shorthand and more

This commit is contained in:
agra
2026-02-25 15:51:22 +02:00
parent 4abc7abb54
commit f0569a8a3e
9 changed files with 576 additions and 43 deletions

View File

@@ -396,6 +396,9 @@ opt y: null
unwrap: 10
coalesce a: 42
coalesce b: 99
chained ?? c: 42
chained ?? d: 99
chained ?? e: 0
if-bind x: 7
if-bind y: none
match some: 55
@@ -569,10 +572,18 @@ AE2: 8
AE3: 102
AE4: 51
AE5: 15
=== Struct Constants ===
gravity: 9.810000
max speed: 100
p.y: 9.810000
=== Init Blocks ===
IB1: 60 3
IB2: 142 2
IB3: 5 1
IB4: 100
IB5: 52
--- struct static method shorthand ---
SM1: 16.000000 8.000000
SM1: 5.000000 5.000000
SM2: 10 20
=== DONE ===