Remove int uint, all programs compiling
This commit is contained in:
16
order2.kl
16
order2.kl
@@ -11,20 +11,20 @@ arena := Arena(
|
||||
cap = 1000,
|
||||
)
|
||||
|
||||
// lambda_value := (val: int) // @todo
|
||||
// lambda_value := (val: S64) // @todo
|
||||
// return
|
||||
|
||||
Arena :: struct
|
||||
// arena: Arena
|
||||
next: *Arena
|
||||
data: *int
|
||||
data: *S64
|
||||
len : S64
|
||||
cap : int
|
||||
cap : S64
|
||||
|
||||
Sub :: struct
|
||||
len: int
|
||||
len: S64
|
||||
Sub_Sub :: struct
|
||||
len: int
|
||||
len: S64
|
||||
|
||||
get_len :: (s: *Arena): S64 // @todo
|
||||
return s.next.len
|
||||
@@ -35,8 +35,8 @@ Arena :: struct
|
||||
string16: Str16
|
||||
|
||||
String16 :: struct
|
||||
data: *Void
|
||||
len : int
|
||||
data: *void
|
||||
len : S64
|
||||
|
||||
with_type: Arena = thing
|
||||
pointer := &with_type
|
||||
@@ -60,7 +60,7 @@ test_assignments :: ()
|
||||
CONST :: 23 == 23
|
||||
CONST_FLOAT :: 23.52
|
||||
|
||||
j: *int
|
||||
j: *S64
|
||||
*j = 1
|
||||
/* invalid
|
||||
8 = 32
|
||||
|
||||
Reference in New Issue
Block a user