Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 31f2fb8a5a
1679 files changed
+1024562

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
struct Frame(Copyable, Movable):
var a: Int
var b: Int
var c: Int
def __init__(out self, a: Int, b: Int, c: Int):
self.a = a
self.b = b
self.c = c
def main():
var f = Frame(10, 20, 30)
print("channel 1:", f[1])