mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 06:58:45 +00:00
type_check_visitor fixes, array access and function call syntax change
This commit is contained in:
parent
f7080ba856
commit
c1dec6a0d1
16 changed files with 426 additions and 311 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue