diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/T10963.stderr')
-rw-r--r-- | testsuite/tests/ghci/scripts/T10963.stderr | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/testsuite/tests/ghci/scripts/T10963.stderr b/testsuite/tests/ghci/scripts/T10963.stderr index 2efd138be8..aa081391c4 100644 --- a/testsuite/tests/ghci/scripts/T10963.stderr +++ b/testsuite/tests/ghci/scripts/T10963.stderr @@ -1,12 +1,13 @@ <interactive>:1:1: error: - Ambiguous type variable ‘a0’ arising from a use of ‘foo’ - prevents the constraint ‘(Num a0)’ from being solved. - Probable fix: use a type annotation to specify what ‘a0’ should be. - These potential instances exist: - instance Num Integer -- Defined in ‘GHC.Num’ - instance Num Double -- Defined in ‘GHC.Float’ - instance Num Float -- Defined in ‘GHC.Float’ - ...plus two others - ...plus 8 instances involving out-of-scope types - (use -fprint-potential-instances to see them all) + • Ambiguous type variable ‘a0’ arising from a use of ‘foo’ + prevents the constraint ‘(Num a0)’ from being solved. + Probable fix: use a type annotation to specify what ‘a0’ should be. + These potential instances exist: + instance Num Integer -- Defined in ‘GHC.Num’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ + ...plus two others + ...plus 8 instances involving out-of-scope types + (use -fprint-potential-instances to see them all) + • In the expression: foo |