type_check_visitor fixes, array access and function call syntax change

This commit is contained in:
ProgramSnail 2023-05-07 09:25:38 +03:00
parent f7080ba856
commit c1dec6a0d1
16 changed files with 426 additions and 311 deletions

View file

@ -3,6 +3,6 @@ struct StructWithRef =
decl test_memory : Unit -> Unit
def test_memory = {
const @unique_ref1 <- Int.@_new 5
var @unique_ref2 <- Array.@of 1 2 3
const @unique_ref1 <- Int.@_new: 5
var @unique_ref2 <- Array.@of: 1 2 3
}