X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FbasicTypes%2FBasicTypes.lhs;h=3a882a707a11be2e825be63acb59f55d794f38b5;hp=b151f5b3cb85cf8f3d4cbbdfeac3b40481447bef;hb=023b31fe82746b937ab0eba78b11559be782ebcf;hpb=8346e807afa6cffe8ef11dcd79c35f5b55f96f68 diff --git a/compiler/basicTypes/BasicTypes.lhs b/compiler/basicTypes/BasicTypes.lhs index b151f5b..3a882a7 100644 --- a/compiler/basicTypes/BasicTypes.lhs +++ b/compiler/basicTypes/BasicTypes.lhs @@ -713,11 +713,11 @@ instance Outputable RuleMatchInfo where instance Outputable InlinePragma where ppr (InlinePragma { inl_inline = inline, inl_act = activation , inl_rule = info, inl_sat = mb_arity }) - = pp_inline <> pp_sat <+> pp_info <+> pp_activation + = pp_inline <> pp_activation <+> pp_sat <+> pp_info where pp_inline | inline = ptext (sLit "INLINE") | otherwise = ptext (sLit "NOINLINE") - pp_sat | Just ar <- mb_arity = braces (int ar) + pp_sat | Just ar <- mb_arity = parens (ptext (sLit "sat-args=") <> int ar) | otherwise = empty pp_info | isFunLike info = empty | otherwise = ppr info