Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
4d49c9fd
Commit
4d49c9fd
authored
Jul 08, 2007
by
Ian Lynagh
Browse files
Accept output (following error message changes)
parent
29ebce2c
Changes
7
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/module/mod41.stderr
View file @
4d49c9fd
mod41.hs:3:0:
Illegal instance declaration for `Eq (Either a a)'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Eq (Either a a)'
testsuite/tests/ghc-regress/module/mod42.stderr
View file @
4d49c9fd
mod42.hs:3:0:
Illegal instance declaration for `Eq a'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Eq a'
testsuite/tests/ghc-regress/module/mod43.stderr
View file @
4d49c9fd
mod43.hs:3:0:
Illegal instance declaration for `Eq String'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Eq String'
testsuite/tests/ghc-regress/rename/should_compile/rn049.stderr
View file @
4d49c9fd
rn049.hs:10:5:
Warning: accepting non-standard pattern guards (
-fglasgow-ext
s to suppress this message)
Warning: accepting non-standard pattern guards (
use -XPatternGuard
s to suppress this message)
x <- (1 * 2) + (3 * 4)
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail044.stderr
View file @
4d49c9fd
tcfail044.hs:5:0:
Illegal instance declaration for `Eq (a -> a)'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Eq (a -> a)'
tcfail044.hs:8:0:
Illegal instance declaration for `Num (a -> a)'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `Num (a -> a)'
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail047.stderr
View file @
4d49c9fd
tcfail047.hs:6:0:
Illegal instance declaration for `A (a, (b, c))'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T a1 ... an)
where a1 ... an are distinct type *variables*
Use -XFlexibleInstances if you want to disable this.)
In the instance declaration for `A (a, (b, c))'
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail139.stderr
View file @
4d49c9fd
tcfail139.hs:6:0:
Illegal instance declaration for `Bounded Foo'
(The instance type must be of form (T a1 ... an)
where T is not a synonym, and a1 ... an are distinct type *variables*)
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Bounded Foo'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment