Tidy: Add flag to expose unfoldings if they take dictionary arguments.
Add the flag `-fexpose-overloaded-unfoldings` to be able to control this behaviour. For ghc's boot libraries file size grew by less than 1% when it was enabled. However I refrained from enabling it by default for now. ------------------------- Metric Decrease: MultiLayerModulesTH_OneShot Metric Increase: T12425 T13386 hard_hole_fits -------------------------
parent
d2733a05
No related branches found
No related tags found
Pipeline #87059 failed
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Driver/Config/Tidy.hs 1 addition, 0 deletionscompiler/GHC/Driver/Config/Tidy.hs
- compiler/GHC/Driver/Flags.hs 2 additions, 0 deletionscompiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs 1 addition, 0 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Iface/Tidy.hs 78 additions, 20 deletionscompiler/GHC/Iface/Tidy.hs
- docs/users_guide/hints.rst 2 additions, 1 deletiondocs/users_guide/hints.rst
- docs/users_guide/using-optimisation.rst 38 additions, 4 deletionsdocs/users_guide/using-optimisation.rst
- testsuite/tests/simplCore/should_compile/ExposeOverloaded.hs 31 additions, 0 deletionstestsuite/tests/simplCore/should_compile/ExposeOverloaded.hs
- testsuite/tests/simplCore/should_compile/ExposeOverloaded.stderr 356 additions, 0 deletions...te/tests/simplCore/should_compile/ExposeOverloaded.stderr
- testsuite/tests/simplCore/should_compile/T16038/Makefile 1 addition, 1 deletiontestsuite/tests/simplCore/should_compile/T16038/Makefile
- testsuite/tests/simplCore/should_compile/all.T 6 additions, 2 deletionstestsuite/tests/simplCore/should_compile/all.T
- testsuite/tests/stranal/should_compile/T23398.stderr 3 additions, 1 deletiontestsuite/tests/stranal/should_compile/T23398.stderr
Loading
Please register or sign in to comment