From 17629d66062b88b040a2397032f6c08361a5f3a7 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 12 Aug 2021 03:12:42 -0400 Subject: Improved binding syntax for "syntax:". --- lux-jvm/source/luxc/lang/directive/jvm.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lux-jvm/source/luxc/lang/directive/jvm.lux') diff --git a/lux-jvm/source/luxc/lang/directive/jvm.lux b/lux-jvm/source/luxc/lang/directive/jvm.lux index fa8b1420e..bc038bc92 100644 --- a/lux-jvm/source/luxc/lang/directive/jvm.lux +++ b/lux-jvm/source/luxc/lang/directive/jvm.lux @@ -426,7 +426,7 @@ #.None (let [label' (org/objectweb/asm/Label::new)] - [(dictionary.put label label' mapping) label']))) + [(dictionary.has label label' mapping) label']))) (def: (relabel_branching [mapping instruction]) (Re_labeler /.Branching) @@ -1477,6 +1477,6 @@ (def: .public (bundle class_loader extender) (-> java/lang/ClassLoader jvm.Extender (directive.Bundle jvm.Anchor jvm.Inst jvm.Definition)) (|> bundle.empty - (dictionary.put "lux def generation" (..def::generation extender)) - (dictionary.put "jvm class" (..jvm::class class_loader)) - (dictionary.put "jvm class interface" ..jvm::class::interface))) + (dictionary.has "lux def generation" (..def::generation extender)) + (dictionary.has "jvm class" (..jvm::class class_loader)) + (dictionary.has "jvm class interface" ..jvm::class::interface))) -- cgit v1.2.3