diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-23 02:25:17 +0100 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-23 12:27:59 +0100 |
commit | 42f06f6821a221b88d67b0adc110eea78c159d7f (patch) | |
tree | 67e01a66b7f1ebeed33b755454c51771da821b65 /testsuite/tests/typecheck/should_fail/tcfail102.stderr | |
parent | 978c3ea14a4fb9be577fe64e1e6b724a44f332a8 (diff) | |
download | haskell-42f06f6821a221b88d67b0adc110eea78c159d7f.tar.gz |
Testsuite: accept output without Windows line endings (#11631)
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail102.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail102.stderr | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail102.stderr b/testsuite/tests/typecheck/should_fail/tcfail102.stderr index 1f034ed39d..7cf8b4fbcb 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail102.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail102.stderr @@ -1,13 +1,13 @@ -
-tcfail102.hs:1:14: warning:
- -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
-
-tcfail102.hs:9:15: error:
- Could not deduce (Integral (Ratio a)) arising from a use of ‘p’
- from the context: Integral a
- bound by the type signature for:
- f :: Integral a => P (Ratio a) -> P (Ratio a)
- at tcfail102.hs:8:1-45
- In the ‘p’ field of a record
- In the expression: x {p = p x}
- In an equation for ‘f’: f x = x {p = p x}
+ +tcfail102.hs:1:14: warning: + -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. + +tcfail102.hs:9:15: error: + • Could not deduce (Integral (Ratio a)) arising from a use of ‘p’ + from the context: Integral a + bound by the type signature for: + f :: Integral a => P (Ratio a) -> P (Ratio a) + at tcfail102.hs:8:1-45 + • In the ‘p’ field of a record + In the expression: x {p = p x} + In an equation for ‘f’: f x = x {p = p x} |