diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc161.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc161.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc161.hs b/testsuite/tests/typecheck/should_compile/tc161.hs index 7cb1272b6e..a247e2b1be 100644 --- a/testsuite/tests/typecheck/should_compile/tc161.hs +++ b/testsuite/tests/typecheck/should_compile/tc161.hs @@ -2,8 +2,8 @@ -- Blew up GHC 5.04, with: -- Ambiguous type variable(s) `q' in the constraint `Foo q' -- arising from a function with an overloaded argument type at Foo.hs:7 --- Expected type: Int -> (forall q1. (Foo q1) => q1 -> a) -> a --- Inferred type: Int -> (q -> a) -> a +-- Expected type: Int -> (forall q1. (Foo q1) => q1 -> a) -> a +-- Inferred type: Int -> (q -> a) -> a -- In the application `GHC.Err.noMethodBindingError "Foo.hs:7|Foo.foo"#' -- -- Fix is to give wild-card args to the default methods |