diff options
author | Eduardo Julian | 2018-08-11 23:27:32 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-08-11 23:27:32 -0400 |
commit | 453ab9f67873bb022acadf4c0f5c1e635c7d5794 (patch) | |
tree | fa2419e2bb78b37e75f2ac070e0916776116638d /new-luxc/source/luxc/lang/translation/jvm.lux | |
parent | 425148d29846ba507599b220d4df05c805e8d38a (diff) |
- Fixed common translation tests for JVM.
- Fixed a bug in "lux text <".
- Small optimizations to old LuxC.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/jvm.lux | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm.lux b/new-luxc/source/luxc/lang/translation/jvm.lux index f9b081972..b8c00c8a4 100644 --- a/new-luxc/source/luxc/lang/translation/jvm.lux +++ b/new-luxc/source/luxc/lang/translation/jvm.lux @@ -133,9 +133,10 @@ (ex.report ["Class" class] ["Error" error])) -(exception: #export (invalid-field {class Text} {field Text}) +(exception: #export (invalid-field {class Text} {field Text} {error Text}) (ex.report ["Class" class] - ["Field" field])) + ["Field" field] + ["Error" error])) (exception: #export (invalid-value {class Text}) (ex.report ["Class" class])) @@ -157,7 +158,7 @@ (ex.throw cannot-load [class-name error])) (#error.Error error) - (ex.throw invalid-field [class-name ..value-field]))) + (ex.throw invalid-field [class-name ..value-field error]))) (def: module-separator "/") (def: class-path-separator ".") |