#10624: th/T10279 testcase is broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: ezyang Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D1060 -------------------------------------+------------------------------------- Changes (by ezyang): * status: new => patch * differential: => Phab:D1060 Comment: This can be fixed by cherry-picking the following commit from master: {{{ commit cf1d9751e7ca85e9b3284ad57882958b8dc73d16 Author: Edward Z. Yang <ezyang@cs.stanford.edu> Date: Tue Apr 7 09:08:54 2015 -0500 Don't repeat package key with -dppr-debug when package info is missing. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D802 }}} as well as applying the attached Phab diff. When I cherry-picked, I had to fix a minor parenthesization wibble: {{{ commit cbe0615b7d71d340f597032c2009ff771f1b91c8 Author: Edward Z. Yang <ezyang@cs.stanford.edu> Date: Thu Jul 9 10:21:28 2015 -0700 Parenthesization wibble in T10279. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> diff --git a/testsuite/tests/th/T10279.stderr b/testsuite/tests/th/T10279.stderr index 9c72bf9..071ee45 100644 --- a/testsuite/tests/th/T10279.stderr +++ b/testsuite/tests/th/T10279.stderr @@ -1,8 +1,8 @@ -T10279.hs:10:10: +T10279.hs:10:8: Failed to load interface for ‘A’ no package key matching ‘rts-1.0’ was found (This package key looks like the source package ID; the real package key is ‘rts’) - In the expression: (rts-1.0:A.Foo) - In an equation for ‘blah’: blah = (rts-1.0:A.Foo) + In the expression: rts-1.0:A.Foo + In an equation for ‘blah’: blah = rts-1.0:A.Foo }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10624#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler