diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-30 15:50:54 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-30 15:50:54 -0500 |
| commit | 40c33987fa0a91a8525d960f8494ca9ddf12806d (patch) | |
| tree | fa89233cbd7096de735348b39704e1ddb97dfe0c /test/structs.tm | |
| parent | f3fc7558bb425c4bd59b55527d2fafaa744fe0aa (diff) | |
Bring back `table[key]` syntax
Diffstat (limited to 'test/structs.tm')
| -rw-r--r-- | test/structs.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/structs.tm b/test/structs.tm index ae5bec0f..afbb1a86 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -74,7 +74,7 @@ func main(): = Password(...) >> users_by_password := {my_pass:"User1", Password("xxx"):"User2"} = {Password(...):"User1", Password(...):"User2"} - >> users_by_password:get(my_pass)! + >> users_by_password[my_pass]! = "User1" >> CorecursiveA(@CorecursiveB()) |
