summaryrefslogtreecommitdiff
path: root/tnslc/compile/struct.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2025-12-07 23:20:45 -0500
committerKai Gunger <kgunger12@gmail.com>2025-12-07 23:20:45 -0500
commit8bb2e3bdb00341dcd8b6fd4d272b2c96a708acb3 (patch)
treef58c966d4d5e5eaafdd5b149add4c68bbae9733f /tnslc/compile/struct.tnsl
parentdb29085af649f8a42958898aaf2c3bfcef67f385 (diff)
fix module step 1 name resolution
Diffstat (limited to 'tnslc/compile/struct.tnsl')
-rw-r--r--tnslc/compile/struct.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/compile/struct.tnsl b/tnslc/compile/struct.tnsl
index 24f14cf..fd1f6e0 100644
--- a/tnslc/compile/struct.tnsl
+++ b/tnslc/compile/struct.tnsl
@@ -137,7 +137,7 @@ struct Struct {
tn = n
# Find type, compute size, set add_size to type size
- ~Struct ft = self._find_type(self.methods, n)
+ ~Struct ft = self._find_type(n)
/; if (ft == NULL)
# Type not found