[commit: ghc] master: Fix test for Trac #13075 (b2996f1)

git at git.haskell.org git at git.haskell.org
Tue Feb 27 08:54:31 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/b2996f1b81c6c51eedc7ece93de0a6bc0426da5c/ghc

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

commit b2996f1b81c6c51eedc7ece93de0a6bc0426da5c
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 27 08:53:10 2018 +0000

    Fix test for Trac #13075
    
    I'd put the stderr file in my link tree, not in the source tree,
    so my original push had the wrong file, even though my tree
    validated.  Sorry!


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

b2996f1b81c6c51eedc7ece93de0a6bc0426da5c
 testsuite/tests/typecheck/should_fail/T13075.stderr | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuite/tests/typecheck/should_fail/T13075.stderr b/testsuite/tests/typecheck/should_fail/T13075.stderr
index 0519ecb..89abb9a 100644
--- a/testsuite/tests/typecheck/should_fail/T13075.stderr
+++ b/testsuite/tests/typecheck/should_fail/T13075.stderr
@@ -1 +1,3 @@
 
+T13075.hs:5:1: error:
+    Top-level strict bindings aren't allowed: !(Just x) = Nothing



More information about the ghc-commits mailing list