aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm.lux7
1 files changed, 5 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm.lux b/new-luxc/source/luxc/lang/translation/jvm.lux
index 59d722233..141e70184 100644
--- a/new-luxc/source/luxc/lang/translation/jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm.lux
@@ -28,7 +28,7 @@
[language
[lux
["." generation]]]
- [meta
+ ["." meta
[io (#+ lux-context)]
[archive
[descriptor (#+ Module)]
@@ -98,7 +98,10 @@
(def: #export (class-name [module-id artifact-id])
(-> generation.Context Text)
- (format lux-context "." (%.nat module-id) ..class-path-separator (%.nat artifact-id)))
+ (format lux-context
+ ..class-path-separator (%.nat meta.version)
+ ..class-path-separator (%.nat module-id)
+ ..class-path-separator (%.nat artifact-id)))
(def: (evaluate! library loader eval-class valueI)
(-> Library java/lang/ClassLoader Text Inst (Try [Any Definition]))