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

Replace AttachBlock with more generic PartialScope

This commit is contained in:
Étienne Fildadut 2023-12-29 17:56:01 +01:00
parent 9b7d1e436e
commit 404e7dd56e
10 changed files with 124 additions and 70 deletions

View file

@ -2,7 +2,7 @@
--- error ---
can't add an overload variant to non-overloadable variable a defined in the same scope
↳ from test/tests/define override variable.ans:3:1 in definition: :a = ($() _)
↳ from test/tests/define override variable.ans:3:1 in attach block: :a = ($() _)…
↳ from test/tests/define override variable.ans:3:1 in partial scope: :a = ($() _)…
↳ from ? in block: :a = 2…
--# saved #--
{}

View file

@ -0,0 +1,9 @@
--# run #--
--- text ---
| {}"Hello"|
--- text ---
| {}"Bonjour"|
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,6 @@
| Hello
| Hello| ->
| Bonjour
| Hello