From 24f6bec94411aa6c39a2c94ce5154ffe96ae330f Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 8 Dec 2016 19:32:37 -0800 Subject: 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 , and get a mysterious error. Check for this earlier! Fixes #12955. Signed-off-by: Edward Z. Yang Test Plan: validate Reviewers: simonpj, austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2815 GHC Trac Issues: #12955 --- testsuite/tests/backpack/should_compile/bkp24.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/tests/backpack/should_compile') 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 ) -- cgit v1.2.1