diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 16:28:57 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 16:28:57 -0400 |
| commit | fd74479a2bf2e4ccc35d1c2fa206de8f28be1e54 (patch) | |
| tree | 0cdf5c4659264b612b5f3fbb4ce6a3b11dd736f5 /test/lists.tm | |
| parent | 92185a002a2e8b669add454a945c0ecdc0904993 (diff) | |
Deprecate optional '?' postfix operator
Diffstat (limited to 'test/lists.tm')
| -rw-r--r-- | test/lists.tm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lists.tm b/test/lists.tm index 05001f19..2342c570 100644 --- a/test/lists.tm +++ b/test/lists.tm @@ -162,23 +162,23 @@ func main() = [1, 2, 3, 4, 5] >> ["a", "b", "c"].find("b") - = 2? + = 2 >> ["a", "b", "c"].find("XXX") = none >> [10, 20].where(func(i:&Int) i.is_prime()) = none >> [4, 5, 6].where(func(i:&Int) i.is_prime()) - = 2? + = 2 do >> nums := &[10, 20, 30, 40, 50] >> nums.pop() - = 50? + = 50 >> nums[] = [10, 20, 30, 40] >> nums.pop(2) - = 20? + = 20 >> nums[] = [10, 30, 40] >> nums.clear() |
