summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_compile
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2016-12-08 19:32:37 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2016-12-12 23:09:55 -0800
commit24f6bec94411aa6c39a2c94ce5154ffe96ae330f (patch)
tree594b5f74d9889751abc5e959109e78c2fd789eb3 /testsuite/tests/backpack/should_compile
parent8f6d241a74efa6f6280689a9b14c36c6a9f4c231 (diff)
downloadhaskell-24f6bec94411aa6c39a2c94ce5154ffe96ae330f.tar.gz
Sanity check if we pick up an hsig file without -instantiated-with.
Summary: Previously we would just let compilation proceed along until we tried to pull up the Module for the hsig file, and get main:A instead of <A>, and get a mysterious error. Check for this earlier! Fixes #12955. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2815 GHC Trac Issues: #12955
Diffstat (limited to 'testsuite/tests/backpack/should_compile')
-rw-r--r--testsuite/tests/backpack/should_compile/bkp24.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/backpack/should_compile/bkp24.stderr b/testsuite/tests/backpack/should_compile/bkp24.stderr
index 73e1f9d6fb..ddafe4150b 100644
--- a/testsuite/tests/backpack/should_compile/bkp24.stderr
+++ b/testsuite/tests/backpack/should_compile/bkp24.stderr
@@ -15,8 +15,8 @@
Instantiating r
[1 of 2] Including q[B=b:B]
Instantiating q[B=b:B]
- [1 of 2] Including p[A=a:A, B=b:B]
- Instantiating p[A=a:A, B=b:B]
+ [1 of 2] Including p[A=a:A,B=b:B]
+ Instantiating p[A=a:A,B=b:B]
[1 of 3] Compiling A[sig] ( p/A.hsig, bkp24.out/p/p-BVwzUlgOVR6H8V9umpUZ2h/A.o )
[2 of 3] Compiling B[sig] ( p/B.hsig, bkp24.out/p/p-BVwzUlgOVR6H8V9umpUZ2h/B.o )
[3 of 3] Compiling P ( p/P.hs, bkp24.out/p/p-BVwzUlgOVR6H8V9umpUZ2h/P.o )