aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test/test/lux/language/compiler/synthesis/function.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/test/test/lux/language/compiler/synthesis/function.lux')
-rw-r--r--stdlib/test/test/lux/language/compiler/synthesis/function.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/test/test/lux/language/compiler/synthesis/function.lux b/stdlib/test/test/lux/language/compiler/synthesis/function.lux
index 0116033bd..0c55b64fd 100644
--- a/stdlib/test/test/lux/language/compiler/synthesis/function.lux
+++ b/stdlib/test/test/lux/language/compiler/synthesis/function.lux
@@ -88,7 +88,7 @@
(def: local-function
(r.Random [Arity Analysis Variable])
(loop [arity +0
- nest? true]
+ nest? #1]
(if nest?
(do r.Monad<Random>
[nest?' r.bit
@@ -129,7 +129,7 @@
(variable/= prediction//environment output))
_
- false)))
+ #0)))
(test "Folded functions properly offset local variables."
(|> function//local
(expressionS.synthesizer extensionL.empty)
@@ -139,7 +139,7 @@
(variable/= prediction//local output))
_
- false)))
+ #0)))
))))
(context: "Function application."
@@ -159,7 +159,7 @@
(list.zip2 argsA argsS)))
_
- false)))
+ #0)))
(test "Function application on no arguments just synthesizes to the function itself."
(|> (analysisL.apply [funcA (list)])
(expressionS.synthesizer extensionL.empty)
@@ -168,5 +168,5 @@
(//primitive.corresponds? funcA funcS)
_
- false)))
+ #0)))
))))