Setup more error context for Backpack operations.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 7 Feb 2017 23:02:40 +0000 (15:02 -0800)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Mon, 13 Feb 2017 03:14:52 +0000 (19:14 -0800)
commit8e9ad240a9345527fc0635b89cc39b4d73b08e03
tree0b59844d22acec6cc17ae2cd1a462dfc0c4071c6
parenta4ccd330273ccfd136481ee82ae9495f5dd5f146
Setup more error context for Backpack operations.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: bgamari, simonpj, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3101
29 files changed:
compiler/main/ErrUtils.hs
compiler/typecheck/TcBackpack.hs
compiler/utils/Outputable.hs
testsuite/tests/backpack/cabal/bkpcabal02/bkpcabal02.stderr
testsuite/tests/backpack/should_fail/bkpfail01.stderr
testsuite/tests/backpack/should_fail/bkpfail03.stderr
testsuite/tests/backpack/should_fail/bkpfail04.stderr
testsuite/tests/backpack/should_fail/bkpfail05.stderr
testsuite/tests/backpack/should_fail/bkpfail06.stderr
testsuite/tests/backpack/should_fail/bkpfail10.stderr
testsuite/tests/backpack/should_fail/bkpfail11.stderr
testsuite/tests/backpack/should_fail/bkpfail16.stderr
testsuite/tests/backpack/should_fail/bkpfail17.stderr
testsuite/tests/backpack/should_fail/bkpfail19.stderr
testsuite/tests/backpack/should_fail/bkpfail20.stderr
testsuite/tests/backpack/should_fail/bkpfail21.stderr
testsuite/tests/backpack/should_fail/bkpfail22.stderr
testsuite/tests/backpack/should_fail/bkpfail23.stderr
testsuite/tests/backpack/should_fail/bkpfail25.stderr
testsuite/tests/backpack/should_fail/bkpfail26.stderr
testsuite/tests/backpack/should_fail/bkpfail27.stderr
testsuite/tests/backpack/should_fail/bkpfail29.stderr
testsuite/tests/backpack/should_fail/bkpfail32.stderr
testsuite/tests/backpack/should_fail/bkpfail33.stderr
testsuite/tests/backpack/should_fail/bkpfail35.stderr
testsuite/tests/backpack/should_fail/bkpfail37.stderr
testsuite/tests/backpack/should_fail/bkpfail38.stderr
testsuite/tests/backpack/should_fail/bkpfail42.stderr
testsuite/tests/backpack/should_fail/bkpfail43.stderr