returned / brounght value handling in execute_visitor (fixes)

This commit is contained in:
ProgramSnail 2023-05-21 11:58:23 +03:00
parent f6b50b16ae
commit bad48a1da0
5 changed files with 113 additions and 58 deletions

View file

@ -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"
})
}