Add most of the type checkers

This commit is contained in:
nub31
2025-09-12 23:07:53 +02:00
parent 1cf7f1884a
commit 7716c84dd9
3 changed files with 233 additions and 41 deletions

View File

@@ -9,10 +9,12 @@ export struct Human
extern "main" func main(args: []cstring): i64
{
let x: Human = {
name = "test"
let x = [1]Human
x[0] = {
name = "oliver"
}
puts(x.name)
puts(x[0].name)
return 0
}