Skip to content

Commit

Permalink
Apply hlint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
AzimMuradov committed Jan 2, 2024
1 parent 6b785bc commit d3ebe76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CodeGen/Llvm/Ir2LlvmIr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ regStdLibDecl decl = register decl =<< declareAsExtern decl
LLVM.i64

register :: StdLib.TypedDeclaration -> LLVM.Operand -> Llvm ()
register (ident, _) operand = regFun (Txt ident) operand
register (ident, _) = regFun (Txt ident)

signatureTypesCount :: Type -> Int
signatureTypesCount t = hylo signatureTypesCount'' signatureTypesCount' t
signatureTypesCount = hylo signatureTypesCount'' signatureTypesCount'

signatureTypesCount' :: Type -> ListF Type Type
signatureTypesCount' (TFun pT retT) = Cons pT retT
Expand Down

0 comments on commit d3ebe76

Please sign in to comment.