Worki
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
extern func puts(text: cstring)
|
||||
|
||||
struct Human
|
||||
interface Test
|
||||
{
|
||||
func print()
|
||||
}
|
||||
|
||||
struct Human : Test
|
||||
{
|
||||
name: cstring
|
||||
|
||||
@@ -12,7 +17,7 @@ struct Human
|
||||
|
||||
func main(args: []cstring): i64
|
||||
{
|
||||
let human = alloc Human {
|
||||
let human: Test = alloc Human {
|
||||
name = "oliver"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user