Fix regression, constant variables now get properly rewritten

This commit is contained in:
Krzosa Karol
2022-05-31 14:01:18 +02:00
parent 369418b042
commit 04d38511a9
7 changed files with 49 additions and 68 deletions

View File

@@ -2,16 +2,16 @@ Str16 :: String16
arena_pointer: *Arena = null
thing: Arena
no_type := thing
constant_access := Arena.constant_inside
arena := Arena(
next = null,
data = null,
len = 1000,
cap = 1000,
// constant_inside = 10,
)
// lambda_value := (val: int) // What to do with this???
// lambda_value := (val: int) // What to do with this???
// return
Arena :: struct