type_check_visitor returned / brought values check, branches check

This commit is contained in:
ProgramSnail 2023-05-21 11:21:24 +03:00
parent a9d4d3a104
commit f6b50b16ae
3 changed files with 63 additions and 50 deletions

View file

@ -142,5 +142,8 @@ def func : s = {
exec main {
for i in (,0 ,1 ,2 ,3) do func: "abacaba"
; print: ({ bring read: })
; print: ({
if true then bring read: else ()
bring "nothing"
})
}