1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

[language] Add multiple assignments, assignment and definitions are now function calls

This commit is contained in:
Étienne Fildadut 2024-01-11 01:34:20 +01:00
parent 760181eaf9
commit b6473de4d2
36 changed files with 180 additions and 172 deletions

View file

@ -5,7 +5,7 @@
| {}"" {}"type(12, \"kg\")" {}"" |
--- error ---
value check failure for weigh; 32 does not satisfy $(x) type(x) == t
↳ from test/tests/constrained variable assignement.ans:9:7 in assignment: weigh = 32
↳ from test/tests/constrained variable assignement.ans:9:7 in call: weigh = 32
↳ from ? in block: :weigh::is("kg") = type(5, "kg")…
--# saved #--
{}