summaryrefslogtreecommitdiff
path: root/src/Language
diff options
context:
space:
mode:
Diffstat (limited to 'src/Language')
-rw-r--r--src/Language/AST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/AST.hs b/src/Language/AST.hs
index 8c91d59..022e797 100644
--- a/src/Language/AST.hs
+++ b/src/Language/AST.hs
@@ -205,7 +205,7 @@ fromNamedExpr val = \case
(fromNamedExpr (NTop `NPush` nr1 `NPush` nr2) c)
(go e1) (go e2)
- NEError t s -> EError t s
+ NEError t s -> EError ext t s
NEUnnamed e args -> injectWrapLet (weakenExpr (wRaiseAbove args (envFromNEnv val)) e) args
where