summaryrefslogtreecommitdiff
path: root/tnslc/compile/struct.tnsl
diff options
context:
space:
mode:
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