From d0c938888b3dd00cfdb27bb9444401b9e5913490 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 31 Jul 2019 21:54:53 -0400 Subject: Ported JVM reference generation to the new JVM bytecode machinery. --- stdlib/source/test/lux/target/jvm.lux | 4 ++-- stdlib/source/test/lux/tool/compiler/phase/synthesis/function.lux | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'stdlib/source/test') diff --git a/stdlib/source/test/lux/target/jvm.lux b/stdlib/source/test/lux/target/jvm.lux index 47ed621d8..18469e74e 100644 --- a/stdlib/source/test/lux/target/jvm.lux +++ b/stdlib/source/test/lux/target/jvm.lux @@ -136,8 +136,8 @@ (do /instruction.monad [_ (/instruction.ldc/long (/constant.long expected)) _ (/instruction.invokestatic "java.lang.Long" "valueOf" - (list /descriptor.long) - (/descriptor.object "java.lang.Long"))] + [(list /descriptor.long) + (/descriptor.object "java.lang.Long")])] /instruction.areturn))) (row.row)) (binaryF.run /class.writer)) diff --git a/stdlib/source/test/lux/tool/compiler/phase/synthesis/function.lux b/stdlib/source/test/lux/tool/compiler/phase/synthesis/function.lux index db6c38eca..32044f5dc 100644 --- a/stdlib/source/test/lux/tool/compiler/phase/synthesis/function.lux +++ b/stdlib/source/test/lux/tool/compiler/phase/synthesis/function.lux @@ -26,8 +26,9 @@ [extension ["#." bundle]] ["/#" // + [arity (#+ Arity)] ["#." reference (#+ Variable) ("variable@." equivalence)] - ["#." analysis (#+ Arity Analysis)] + ["#." analysis (#+ Analysis)] ["#." synthesis (#+ Synthesis)]]]]]}) (def: constant-function -- cgit v1.2.3