From 7b2c16d90f0f28e4eb076316fd53e31fa52f6de2 Mon Sep 17 00:00:00 2001 From: Umur Ozkul Date: Thu, 23 Jun 2022 03:54:37 +0200 Subject: [PATCH] fix typescript test --- .../rescript/Reducer/Reducer_Expression/Reducer_Expression.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res b/packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res index 2f634709..28a2d538 100644 --- a/packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res +++ b/packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res @@ -151,7 +151,7 @@ let evaluatePartialUsingExternalBindings = ( code, ) switch rAnswer { - | Ok(EvRecord(externalBindings)) => Ok(externalBindings) + | Ok(EvModule(externalBindings)) => Ok(externalBindings) | Ok(_) => Error(Reducer_ErrorValue.RESyntaxError(`Partials must end with an assignment or record`)) | Error(err) => err->Error