X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Ftests%2Ftypecheck%2Fshould_fail%2Ftcfail018.stderr;h=c446b20fa18e452fc18bd296825bd714bf257630;hb=6e5b016d4c2570441e7fee0761b9293f2671e085;hp=f645b9d8ca172a33bb595962c8ebfcb5522ce6e2;hpb=4c5f550b0089fba3490a1c08f78647e4f00ce81a;p=ghc-hetmet.git diff --git a/ghc/tests/typecheck/should_fail/tcfail018.stderr b/ghc/tests/typecheck/should_fail/tcfail018.stderr index f645b9d..c446b20 100644 --- a/ghc/tests/typecheck/should_fail/tcfail018.stderr +++ b/ghc/tests/typecheck/should_fail/tcfail018.stderr @@ -1,9 +1,5 @@ - -tcfail018.hs:5: - Ambiguous type variable(s) `t' - in the constraint `PrelBase.Num [t]' - arising from the literal `1' at tcfail018.hs:5 - - -Compilation had errors +tcfail018.hs:5: + No instance for `Num [t]' + arising from the literal `1' at tcfail018.hs:5 + in a pattern binding: 1