类型的相等测试由类型真实的结构而不是名字来决定。
type show { show: This -> string } type Foo() impl { fun show(this: This) -> string { return "Hello Deeplang"; } } let foo: Show = new Foo();
There was an error while loading. Please reload this page.