diff options
Diffstat (limited to '')
-rw-r--r-- | lux-jvm/source/luxc/lang/translation/jvm.lux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lux-jvm/source/luxc/lang/translation/jvm.lux b/lux-jvm/source/luxc/lang/translation/jvm.lux index dce3017f5..88dc6a96f 100644 --- a/lux-jvm/source/luxc/lang/translation/jvm.lux +++ b/lux-jvm/source/luxc/lang/translation/jvm.lux @@ -135,7 +135,8 @@ (-> Library java/lang/ClassLoader Definition (Try Any)) (io.run (do (try.with io.monad) [existing-class? (|> (atom.read library) - (\ io.monad map (dictionary.contains? class-name)) + (\ io.monad map (function (_ library) + (dictionary.key? library class-name))) (try.lift io.monad) (: (IO (Try Bit)))) _ (if existing-class? |