Skip to content

Commit

Permalink
Added forgotten scope extension in the normalizer (and removed one de…
Browse files Browse the repository at this point in the history
…funct file).
  • Loading branch information
nordlander committed Sep 18, 2024
1 parent 9a3df8f commit c37e439
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 58 deletions.
2 changes: 1 addition & 1 deletion compiler/Acton/Normalizer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ instance Norm Stmt where

norm' env (Try l b [] els []) = norm env (b ++ els)
norm' env (Try l b hs els []) = do b <- norm (pushMark DROP env) b
els <- norm env els
els <- norm (define (envOf b) env) els
x <- newName "x"
hdl <- handle env x hs
return [sIf [Branch ePUSH (b ++ sDROP : els)] (sPOP x : hdl)]
Expand Down
57 changes: 0 additions & 57 deletions compiler/tests/xml.act

This file was deleted.

0 comments on commit c37e439

Please sign in to comment.