aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm/function.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-12-29 22:41:46 -0400
committerEduardo Julian2019-12-29 22:41:46 -0400
commit55219078698866155d7d3879f1378f75ba2ba3ee (patch)
tree47db4442c7063d2e234a4cc4f0f49d9792097af4 /new-luxc/source/luxc/lang/translation/jvm/function.lux
parent84ea12c2960cc7460de81087a6e53bcc6d37a3d6 (diff)
FIX the names of function classes are now prefixed with their originating module.
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/function.lux1
1 files changed, 1 insertions, 0 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/function.lux b/new-luxc/source/luxc/lang/translation/jvm/function.lux
index 7a4bbef4e..d141b2392 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/function.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/function.lux
@@ -298,6 +298,7 @@
[function-class bodyI] (generation.with-context
(generation.with-anchor [@begin 1]
(generate bodyS)))
+ #let [function-class (//.class-name' function-class)]
[functionD instanceI] (with-function @begin function-class env arity bodyI)
_ (generation.save! true ["" function-class]
[function-class