example fixes

This commit is contained in:
ProgramSnail 2023-05-13 14:54:48 +03:00
parent 71c7d91e1a
commit 562541087e
13 changed files with 30 additions and 322 deletions

View file

@ -1,8 +1,8 @@
struct StructWithRef =
& @Int_0
decl test_memory : Unit -> Unit
decl test_memory : -> 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
}