mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-25 16:28:45 +00:00
const -> let
This commit is contained in:
parent
3ae6ed079d
commit
189306df26
33 changed files with 406 additions and 285 deletions
|
|
@ -3,6 +3,6 @@ struct \struct-with-ref =
|
|||
|
||||
decl test-memory : -> \unit
|
||||
def test-memory = {
|
||||
const unique-ref1 <- \int..new: 5
|
||||
let unique-ref1 <- \int..new: 5
|
||||
var unique-ref2 <- \array..of: 1 2 3
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue