Add changelog entry and help message for --public-only
#148
Annotations
3 warnings
fourmolu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
hlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
hlint:
src/PrintApi/CLI/Cmd/Dump.hs#L181
Suggestion in extractModuleDeclarations in module PrintApi.CLI.Cmd.Dump: Move guards forward ▫︎ Found: "[pprTyThing ss thing $$ extras |\n thing <- things,\n let ss = mkShowSub mod_info,\n let extras\n = case thing of\n ATyCon tycon\n | Just cls <- tyConClass_maybe tycon\n -> nest\n 2 (text \"{-# MINIMAL\" <+> ppr (classMinimalDef cls) <+> text \"#-}\")\n _ -> empty]" ▫︎ Perhaps: "[pprTyThing ss thing $$ extras |\n let ss = mkShowSub mod_info,\n thing <- things,\n let extras\n = case thing of\n ATyCon tycon\n | Just cls <- tyConClass_maybe tycon\n -> nest\n 2 (text \"{-# MINIMAL\" <+> ppr (classMinimalDef cls) <+> text \"#-}\")\n _ -> empty]"
|