aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/synthesis
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/synthesis/expression.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/lang/synthesis/expression.lux b/new-luxc/source/luxc/lang/synthesis/expression.lux
index 2dbf8ed5a..b17af14d2 100644
--- a/new-luxc/source/luxc/lang/synthesis/expression.lux
+++ b/new-luxc/source/luxc/lang/synthesis/expression.lux
@@ -114,7 +114,7 @@
_
(call$ funcS argsS))))
-(def: #export (synthesize syntheses expressionA)
+(def: #export (synthesize extensions expressionA)
(-> Syntheses la.Analysis ls.Synthesis)
(loop [arity +0
resolver init-resolver
@@ -191,12 +191,12 @@
(synthesize-apply (recur arity resolver false num-locals) num-locals expressionA)
(^code ((~ [_ (#.Text name)]) (~+ args)))
- (case (dict.get name syntheses)
+ (case (dict.get name extensions)
#.None
(procedure$ name (list/map (recur arity resolver false num-locals) args))
- (#.Some synthesis)
- (synthesis (recur arity resolver false num-locals) args))
+ (#.Some extension)
+ (extension (recur arity resolver false num-locals) args))
_
expressionA)))