Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,13 @@
|
||||
struct Celsius(Copyable, Movable):
|
||||
var deg: Int
|
||||
|
||||
def __init__(out self, deg: Int):
|
||||
self.deg = deg
|
||||
|
||||
|
||||
def report(t: Celsius):
|
||||
print("temp:", t.deg)
|
||||
|
||||
|
||||
def main():
|
||||
report(25)
|
||||
Reference in new issue
Block a user