Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 659c03bbf8
1471 files changed
+990535

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# probe: 1.0.0 notes said __del__ still works, deprecated; does it in 1.1.0?
struct Old:
var v: Int
def __init__(out self, v: Int):
self.v = v
def __del__(deinit self):
print("old-style destructor ran")
def main():
var o = Old(1)
print(o.v)