Skip to content

Commit

Permalink
Fix signature of core BuiltinAnomaDecode
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman committed May 15, 2024
1 parent 2591c52 commit 049bb4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Juvix/Compiler/Core/Translation/FromInternal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -705,10 +705,12 @@ goAxiomDef a = maybe goAxiomNotBuiltin builtinBody (a ^. Internal.axiomBuiltin)
mkSmallUniv
(mkLambda' (mkVar' 0) (mkBuiltinApp' OpAnomaEncode [mkVar' 0]))
)
Internal.BuiltinAnomaDecode ->
Internal.BuiltinAnomaDecode -> do
natName <- getNatName
natSym <- getNatSymbol
registerAxiomDef
( mkLambda'
mkSmallUniv
(mkTypeConstr (setInfoName natName mempty) natSym [])
(mkLambda' (mkVar' 0) (mkBuiltinApp' OpAnomaDecode [mkVar' 0]))
)
Internal.BuiltinPoseidon -> do
Expand Down

0 comments on commit 049bb4a

Please sign in to comment.