Skip to content

Commit

Permalink
fix let declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Nov 25, 2024
1 parent a470c62 commit caf0229
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Juvix/Compiler/Internal/Translation/FromConcrete.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Juvix.Compiler.Internal.Translation.FromConcrete
( module Juvix.Compiler.Internal.Translation.FromConcrete.Data.Context,
fromConcrete,
DefaultArgsStack,
goTopModule,
fromConcreteExpression,
fromConcreteImport,
)
Expand Down Expand Up @@ -577,7 +576,7 @@ deriveEq DerivingArgs {..} = do
let body =
Internal.ExpressionLet
Internal.Let
{ _letClauses = pure (Internal.LetFunDef lamDef),
{ _letClauses = pure (Internal.LetMutualBlock (Internal.MutualBlockLet (pure lamDef))),
_letExpression = mkEq Internal.@@ lam
}
ty = Internal.foldFunType _derivingParameters ret
Expand Down

0 comments on commit caf0229

Please sign in to comment.