diff options
author | Eduardo Julian | 2020-10-12 20:22:31 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-10-12 20:22:31 -0400 |
commit | 00d5ccbc043960037f644d4ff09b6a46fd0093d0 (patch) | |
tree | 9515edc59fb511fa30e68c832d669654853ff702 /lux-jvm/source/luxc/lang/host/jvm/inst.lux | |
parent | 5b222d040ee361dd4022e88488a6bcef3ca40a71 (diff) |
Type-checking macros via the Macro' type from the standard library.
Diffstat (limited to '')
-rw-r--r-- | lux-jvm/source/luxc/lang/host/jvm/inst.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lux-jvm/source/luxc/lang/host/jvm/inst.lux b/lux-jvm/source/luxc/lang/host/jvm/inst.lux index b673c7d7e..69f822591 100644 --- a/lux-jvm/source/luxc/lang/host/jvm/inst.lux +++ b/lux-jvm/source/luxc/lang/host/jvm/inst.lux @@ -39,15 +39,15 @@ (def: reflection (|>> type.reflection reflection.reflection)) ## [Host] -(import: #long java/lang/Object) -(import: #long java/lang/String) +(import: java/lang/Object) +(import: java/lang/String) (syntax: (declare {codes (p.many s.local-identifier)}) (|> codes (list@map (function (_ code) (` ((~' #static) (~ (code.local-identifier code)) (~' int))))) wrap)) -(`` (import: #long org/objectweb/asm/Opcodes +(`` (import: org/objectweb/asm/Opcodes (#static NOP int) ## Conversion @@ -122,10 +122,10 @@ (~~ (declare RETURN IRETURN LRETURN FRETURN DRETURN ARETURN)) )) -(import: #long org/objectweb/asm/Label +(import: org/objectweb/asm/Label (new [])) -(import: #long org/objectweb/asm/MethodVisitor +(import: org/objectweb/asm/MethodVisitor (visitCode [] void) (visitMaxs [int int] void) (visitEnd [] void) |