aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm.lux7
1 files changed, 2 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm.lux b/new-luxc/source/luxc/lang/translation/jvm.lux
index 569da0bd9..f98438902 100644
--- a/new-luxc/source/luxc/lang/translation/jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm.lux
@@ -29,6 +29,7 @@
[lux
["." generation]]]
[meta
+ [io (#+ lux-context)]
[archive
[descriptor (#+ Module)]
["." artifact]]]]]]
@@ -97,13 +98,9 @@
(-> Text Text)
(text.replace-all ..class-path-separator .module-separator))
-## TODO: This is a hackish solution to the issue I have.
-## It should be cleaned up ASAP.
-(def: prefix "lux.")
-
(def: #export (class-name [module-id artifact-id])
(-> generation.Context Text)
- (format ..prefix (%.nat module-id) ..class-path-separator (%.nat artifact-id)))
+ (format lux-context "." (%.nat module-id) ..class-path-separator (%.nat artifact-id)))
(def: (evaluate! library loader eval-class valueI)
(-> Library ClassLoader Text Inst (Try [Any Definition]))