aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/target/jvm/loader.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-08-02 20:26:21 -0400
committerEduardo Julian2021-08-02 20:26:21 -0400
commiteff4c59794868b89d60fdc411f9b544a270b817e (patch)
treee88c4dd09acdf1e83c8683940c0496a844096dfe /stdlib/source/library/lux/target/jvm/loader.lux
parentbcd70df3568d71f14763959f454c15d8164e2d15 (diff)
Fixed a bug in the new compiler which allowed the same module to be imported more than once.
Diffstat (limited to 'stdlib/source/library/lux/target/jvm/loader.lux')
-rw-r--r--stdlib/source/library/lux/target/jvm/loader.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/target/jvm/loader.lux b/stdlib/source/library/lux/target/jvm/loader.lux
index a1f9d285b..ec7931743 100644
--- a/stdlib/source/library/lux/target/jvm/loader.lux
+++ b/stdlib/source/library/lux/target/jvm/loader.lux
@@ -121,10 +121,10 @@
(:assume class)
(#try.Failure error)
- (error! (exception.construct ..cannot_define [class_name error])))
+ (error! (exception.error ..cannot_define [class_name error])))
#.None
- (error! (exception.construct ..unknown [class_name])))))))))
+ (error! (exception.error ..unknown [class_name])))))))))
(def: #export (store name bytecode library)
(-> Text Binary Library (IO (Try Any)))