1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 09:09: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

@ -1,7 +1,7 @@
--# run #--
--- error ---
trying to change the value of constant a
can not set a = 52; constant value check failed
↳ from test/tests/constant variable.ans:5:3 in call: a = 52
↳ from test/tests/constant variable.ans:1:1 in block: ::a = 3…
↳ from test/tests/constant variable.ans:1:1 in block: :a::constant = 3…
--# saved #--
{}