[commit: ghc] ghc-8.0: Don't omit any evidence bindings (be94aeb)

git at git.haskell.org git at git.haskell.org
Tue Oct 18 22:45:35 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/be94aebb63aa355b6015c3873426f2f89ce384d6/ghc

>---------------------------------------------------------------

commit be94aebb63aa355b6015c3873426f2f89ce384d6
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Jun 24 15:49:05 2016 +0100

    Don't omit any evidence bindings
    
    This fixes Trac #12156, where we were omitting to make an
    evidence binding (because cec_suppress was on), but yet the
    program was compiled and run.
    
    The fix is easy, and involves deleting code :-).
    
    (cherry picked from commit af21e38855f7d517774542b360178b05045ecb08)


>---------------------------------------------------------------

be94aebb63aa355b6015c3873426f2f89ce384d6
 testsuite/tests/partial-sigs/should_compile/all.T | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/tests/partial-sigs/should_compile/all.T b/testsuite/tests/partial-sigs/should_compile/all.T
index 3cec3e0..6687a03 100644
--- a/testsuite/tests/partial-sigs/should_compile/all.T
+++ b/testsuite/tests/partial-sigs/should_compile/all.T
@@ -64,3 +64,4 @@ test('T11016', normal, compile, [''])
 test('T11192', normal, compile, [''])
 test('T12156', normal, compile_fail, ['-fdefer-typed-holes'])
 test('T12531', normal, compile, ['-fdefer-typed-holes'])
+test('T12156', normal, compile, ['-fdefer-typed-holes'])



More information about the ghc-commits mailing list