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:
parent
9b7d1e436e
commit
404e7dd56e
10 changed files with 124 additions and 70 deletions
|
|
@ -2,7 +2,7 @@
|
|||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31mcan't add an overload variant to non-overloadable variable a defined in the same scope[0m
|
||||
↳ from [4mtest/tests/define override variable.ans:3:1[0m in definition: [2m:a = ($() _)[0m[0m
|
||||
↳ from [4mtest/tests/define override variable.ans:3:1[0m in attach block: [2m:a = ($() _)…[0m[0m
|
||||
↳ from [4mtest/tests/define override variable.ans:3:1[0m in partial scope: [2m:a = ($() _)…[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = 2…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/translate text attachblock.ans
Normal file
9
test/results/translate text attachblock.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"Hello"|
|
||||
--- text ---
|
||||
| {}"Bonjour"|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
6
test/tests/translate text attachblock.ans
Normal file
6
test/tests/translate text attachblock.ans
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
| Hello
|
||||
|
||||
| Hello| ->
|
||||
| Bonjour
|
||||
|
||||
| Hello
|
||||
Loading…
Add table
Add a link
Reference in a new issue