Fix `print-explicit-runtime-reps` (#11786).
authorHE, Tao <sighingnow@gmail.com>
Fri, 8 Jun 2018 00:43:55 +0000 (20:43 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 8 Jun 2018 12:25:29 +0000 (08:25 -0400)
commit40db277f1dedd4df7e75cc0eb35aa7e1e1ded02a
treed9850b1d6fa6d24d7b9959a7eb89b7bd31ed9a82
parent838aeb9b254efb3df7ed0cedeb945ec7c7789c90
Fix `print-explicit-runtime-reps` (#11786).

By fixing splitting of IfaceTypes in splitIfaceSigmaTy.

Test Plan: make test TEST="T11549 T11376 T11786"

Reviewers: goldfire, bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #11786, #11376

Differential Revision: https://phabricator.haskell.org/D4733
29 files changed:
compiler/iface/IfaceType.hs
docs/users_guide/glasgow_exts.rst
testsuite/driver/testlib.py
testsuite/tests/dependent/ghci/T11549.script
testsuite/tests/dependent/ghci/T11549.stdout
testsuite/tests/dependent/ghci/T11786.script [new file with mode: 0644]
testsuite/tests/dependent/ghci/T11786.stdout [new file with mode: 0644]
testsuite/tests/dependent/ghci/all.T
testsuite/tests/ghci/scripts/T11975.stdout
testsuite/tests/ghci/scripts/T13963.script
testsuite/tests/ghci/scripts/T13963.stdout
testsuite/tests/ghci/scripts/T5545.stdout
testsuite/tests/ghci/scripts/ghci025.stdout
testsuite/tests/typecheck/should_compile/T13050.stderr
testsuite/tests/typecheck/should_compile/T14590.stderr
testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr
testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr
testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr
testsuite/tests/typecheck/should_compile/holes.stderr
testsuite/tests/typecheck/should_compile/holes3.stderr
testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr
testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr
testsuite/tests/typecheck/should_compile/tc231.stderr
testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr
testsuite/tests/typecheck/should_fail/T12083b.stderr
testsuite/tests/typecheck/should_fail/T12151.stderr
testsuite/tests/typecheck/should_fail/T12918b.stderr
testsuite/tests/typecheck/should_fail/T14884.stderr
testsuite/tests/typecheck/should_fail/T7437.stderr