Basic type safe print
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#import "os_windows.kl"
|
||||
|
||||
main :: (argc: int, argv: **char): int
|
||||
test_any()
|
||||
@@ -31,7 +32,9 @@ test_arrays :: ()
|
||||
for array2;; *it = 0
|
||||
for i := 0, i < length_of(array1), i+=1;; assert(0 == array1[i])
|
||||
|
||||
test_array_any(10, 20, 30)
|
||||
print("Thing % %", {30, 20})
|
||||
test_array_any(10, {20, 30})
|
||||
// test_array_any(10, 20, 30) // @fix
|
||||
|
||||
Some_Struct :: struct
|
||||
thing: int
|
||||
|
||||
Reference in New Issue
Block a user