aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
authorEduardo Julian2019-07-31 21:54:53 -0400
committerEduardo Julian2019-07-31 21:54:53 -0400
commitd0c938888b3dd00cfdb27bb9444401b9e5913490 (patch)
tree925c81616a87b0998d66fa0664923be491cfacba /stdlib/source/test
parenta0889b2ee76c1ae7a9a5bbe2eec9f051b4f341e4 (diff)
Ported JVM reference generation to the new JVM bytecode machinery.
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/target/jvm.lux4
-rw-r--r--stdlib/source/test/lux/tool/compiler/phase/synthesis/function.lux3
2 files changed, 4 insertions, 3 deletions
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