From 039810c285f17e1fc1fe78a8b5cb691b7616d106 Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Tue, 7 Jul 2026 04:07:42 -0400 Subject: [tnslc] some deref issues --- tnslc/test.tnsl | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'tnslc/test.tnsl') 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() -;/ -- cgit v1.2.3