Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman authored and lukaszcz committed Feb 5, 2024
1 parent 6408c4c commit 04a54b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Juvix/Compiler/Nockma/Translation/FromTree.hs
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ compile :: forall r. (Members '[Reader CompilerCtx] r) => Tree.Node -> Sem r (Te
compile = \case
Tree.Binop b -> goBinop b
Tree.Unop b -> goUnop b
Tree.Const c -> return (goConst c)
Tree.MemRef c -> goMemRef c
Tree.Const c -> return (goConst (c ^. Tree.nodeConstant))
Tree.MemRef c -> goMemRef (c ^. Tree.nodeMemRef)
Tree.AllocConstr c -> goAllocConstr c
Tree.AllocClosure c -> goAllocClosure c
Tree.ExtendClosure c -> goExtendClosure c
Expand Down

0 comments on commit 04a54b7

Please sign in to comment.