diff options
author | Eduardo Julian | 2020-05-12 20:23:24 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-05-12 20:23:24 -0400 |
commit | f605537d91450b347ce70eb2c5edff9674e72044 (patch) | |
tree | f05a8c50f9db34d889a353951ebaa96761d96918 /new-luxc/source/luxc | |
parent | 33090b088deb20180108e6713309e0dfc627c6e5 (diff) |
Compiler versions are now natural numbers, and are included as part of the names/paths of artifacts.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/jvm.lux | 7 |
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])) |