mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 06:58:45 +00:00
returned / brounght value handling in execute_visitor (fixes)
This commit is contained in:
parent
f6b50b16ae
commit
bad48a1da0
5 changed files with 113 additions and 58 deletions
|
|
@ -143,7 +143,8 @@ def func : s = {
|
|||
exec main {
|
||||
for i in (,0 ,1 ,2 ,3) do func: "abacaba"
|
||||
; print: ({
|
||||
if true then bring read: else ()
|
||||
if true then bring read: else { ; print: "aaa" }
|
||||
bring "nothing"
|
||||
; print: "aaa"
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue