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 14, 2024
1 parent f932a21 commit 83720ff
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 @@ -708,10 +708,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 83720ff

Please sign in to comment.