diff options
author | Eduardo Julian | 2020-04-16 00:22:24 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-04-16 00:22:24 -0400 |
commit | 1888b5c3288e4e7653a424e7314ea5c8277ab360 (patch) | |
tree | a40768d314bc610f9c17446d86e33eba44d5e6c8 /new-luxc/source/luxc/lang/translation/jvm.lux | |
parent | 4f1553c6f6bb579f09749d5b9ca955c43a7440a4 (diff) |
Generating definition names in a new way.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/jvm.lux | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm.lux b/new-luxc/source/luxc/lang/translation/jvm.lux index 8e2cd2af6..390b1497d 100644 --- a/new-luxc/source/luxc/lang/translation/jvm.lux +++ b/new-luxc/source/luxc/lang/translation/jvm.lux @@ -96,9 +96,12 @@ ## TODO: This is a hackish solution to the issue I have. ## It should be cleaned up ASAP. +(def: prefix "lux.") + (def: #export class-name' (-> Text Text) - (text.replace-all .module-separator ..class-path-separator)) + (|>> (text.replace-all .module-separator ..class-path-separator) + (format ..prefix))) (def: #export (class-name module id) (-> Module artifact.ID Text) |