X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Ftests%2Ftypecheck%2Fshould_fail%2Ftcfail008.stderr;h=a7f15d651a2e8f99a2ac19662a89efcf3500704e;hb=4c5f550b0089fba3490a1c08f78647e4f00ce81a;hp=18abfc50b3524f0528c7187067d4f05a9b590f4c;hpb=29f917b1bf425195f092df7872b064cf5b357cfb;p=ghc-hetmet.git diff --git a/ghc/tests/typecheck/should_fail/tcfail008.stderr b/ghc/tests/typecheck/should_fail/tcfail008.stderr index 18abfc5..a7f15d6 100644 --- a/ghc/tests/typecheck/should_fail/tcfail008.stderr +++ b/ghc/tests/typecheck/should_fail/tcfail008.stderr @@ -1,11 +1,14 @@ -tcfail008.hs:3: No instance for: `Num [taEy]' - arising from the literal 2 at tcfail008.hs:3 +tcfail008.hs:3: + Ambiguous type variable(s) `t' + in the constraint `PrelBase.Num [t]' + arising from the literal `2' at tcfail008.hs:3 -tcfail008.hs:3: No instance for: `Num [taEy]' - arising from the literal 2 at tcfail008.hs:3 - -tcfail008.hs:3: No instance for: `Num [Int]' - arising from the literal 2 at tcfail008.hs:3 +tcfail008.hs:3: + Ambiguous type variable(s) `t' + in the constraint `PrelBase.Num t' + arising from the literal `1' at tcfail008.hs:3 + Compilation had errors +