From f605537d91450b347ce70eb2c5edff9674e72044 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 12 May 2020 20:23:24 -0400 Subject: Compiler versions are now natural numbers, and are included as part of the names/paths of artifacts. --- new-luxc/source/luxc/lang/translation/jvm.lux | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'new-luxc') 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])) -- cgit v1.2.3