This commit is contained in:
Krzosa Karol
2022-09-30 20:07:24 +02:00
parent 6cd0596fd5
commit 4c6497c5d6
2 changed files with 15 additions and 11 deletions

View File

@@ -4,6 +4,13 @@ main :: (): int
b := 20
values := []Any{a, b}
c := values[0].data
for values
Assert(it.type == S64)
Assert(*(values[0].data->*S64) == 10)
Assert(*(values[1].data->*S64) == 20)
// @todo: maybe this is better? Assert(*cast(*S64)values[0].data == 10)
return 0