summaryrefslogtreecommitdiff
path: root/tnslc/compile/module.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-05-06 04:52:02 -0400
committerKai Gunger <kgunger12@gmail.com>2026-05-06 04:52:02 -0400
commit8ffb50a4bc61b51952aa78da0c6e1f002f09e1be (patch)
treed55aabf3bc0638dc1eec0725e086ae5972ea1385 /tnslc/compile/module.tnsl
parent722d5ace0290a2d1cace8a1be5b4c5b0ab3137ec (diff)
[tnslc] better calling, issue with member setting on refs
Diffstat (limited to 'tnslc/compile/module.tnsl')
-rw-r--r--tnslc/compile/module.tnsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tnslc/compile/module.tnsl b/tnslc/compile/module.tnsl
index 9de8041..86ede96 100644
--- a/tnslc/compile/module.tnsl
+++ b/tnslc/compile/module.tnsl
@@ -214,6 +214,7 @@ struct Module {
f.init(sub)
# Make function aware that it is in a method block
f.m = true
+ f.mod = ~self
self.funcs.push(~f)
;/
;/