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

[language] replace constant symbols with a constant value check function

This commit is contained in:
Étienne Fildadut 2024-04-24 16:15:58 +02:00
parent b534a3c4a2
commit aaff625b6c
15 changed files with 31 additions and 37 deletions

View file

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