[commit: ghc] wip/type-app: bug in test case (fc39801)

git at git.haskell.org git at git.haskell.org
Fri Aug 7 12:05:31 UTC 2015


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

On branch  : wip/type-app
Link       : http://ghc.haskell.org/trac/ghc/changeset/fc39801d98288fd13ea4b3d59485120f8efaa88d/ghc

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

commit fc39801d98288fd13ea4b3d59485120f8efaa88d
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Fri Jul 10 12:47:48 2015 -0400

    bug in test case


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

fc39801d98288fd13ea4b3d59485120f8efaa88d
 testsuite/tests/parser/should_compile/VtaParse.hs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/testsuite/tests/parser/should_compile/VtaParse.hs b/testsuite/tests/parser/should_compile/VtaParse.hs
index b65ea53..b1cfd7d 100644
--- a/testsuite/tests/parser/should_compile/VtaParse.hs
+++ b/testsuite/tests/parser/should_compile/VtaParse.hs
@@ -30,10 +30,6 @@ n = MkN show
 foo :: Bool -> String
 foo = unMkN n @Bool   -- Fails without parens! Not anymore!
 
-boo = unMkN @Bool n
--- boo :: Bool -> String --(compiler doesn't infer this type! It infers a -> String!)
--- boo = unMkN (n @Bool)
-
 (&&) :: Bool -> Bool -> Bool
 (b at True) && True = True
 _ && _ = False



More information about the ghc-commits mailing list