This commit is contained in:
nub31
2025-08-13 20:01:09 +02:00
parent 9c69c39cff
commit ca3394b9bd
6 changed files with 41 additions and 35 deletions

View File

@@ -16,18 +16,18 @@ struct Human : Printable, Stringable
func str(): cstring
{
return this^.name
return this.name
}
func print()
{
puts(this^.str())
puts(this.str())
}
}
func main(args: []cstring): i64
{
let human: Stringable = alloc Human {
let human = alloc Human {
name = "oliver"
}