Add most of the type checkers
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user