mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-31 19:28:15 +00:00
type_check_visitor returned / brought values check, branches check
This commit is contained in:
parent
a9d4d3a104
commit
f6b50b16ae
3 changed files with 63 additions and 50 deletions
|
|
@ -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"
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue