Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,19 @@
|
||||
trait Greeter:
|
||||
def name(self) -> String:
|
||||
...
|
||||
|
||||
def greet(self) -> String:
|
||||
...
|
||||
|
||||
|
||||
struct Robot(Greeter):
|
||||
def __init__(out self):
|
||||
pass
|
||||
|
||||
def name(self) -> String:
|
||||
return "amr"
|
||||
|
||||
|
||||
def main():
|
||||
var r = Robot()
|
||||
print(r.greet())
|
||||
Reference in new issue
Block a user