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