summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-07-07 04:07:42 -0400
committerKai Gunger <kgunger12@gmail.com>2026-07-07 04:07:42 -0400
commit039810c285f17e1fc1fe78a8b5cb691b7616d106 (patch)
tree681fb608c84919b751477905e053437b2b0d979a /tnslc/test.tnsl
parentfc0262447a128ec8047689ddb885cffa8aa6e2dc (diff)
[tnslc] some deref issues
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl21
1 files changed, 7 insertions, 14 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index 7921513..c91eee4 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -1,20 +1,13 @@
-
-struct Test {
- int i, j,
- ~Test next
+struct Init {
+ ~int a, b
}
-/; method Test
- /; init
- a.b.c
- a`.b.c
- self.next.init(1)
- self.next().a
+/; method Init
+
+ /; set (int a)
+ self.b` = a
;/
+
;/
-/; main
- Test t
- t.init()
-;/