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
Glasgow Haskell Compiler
GHC
Commits
1164ff27
Commit
1164ff27
authored
Apr 01, 2007
by
Ian Lynagh
Browse files
Update output with new, friendlier error
parent
6b250468
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/module/mod41.stderr
View file @
1164ff27
mod41.hs:3:0:
Illegal instance declaration for `Eq (Either a a)'
(The instance type must be of form (T a
b c
)
where T is not a synonym, and a
,b,c
are distinct type variables)
(The instance type must be of form (T a
1 ... an
)
where T is not a synonym, and a
1 ... an
are distinct type
*
variables
*
)
In the instance declaration for `Eq (Either a a)'
testsuite/tests/ghc-regress/module/mod42.stderr
View file @
1164ff27
mod42.hs:3:0:
Illegal instance declaration for `Eq a'
(The instance type must be of form (T a
b c
)
where T is not a synonym, and a
,b,c
are distinct type variables)
(The instance type must be of form (T a
1 ... an
)
where T is not a synonym, and a
1 ... an
are distinct type
*
variables
*
)
In the instance declaration for `Eq a'
testsuite/tests/ghc-regress/module/mod43.stderr
View file @
1164ff27
mod43.hs:3:0:
Illegal instance declaration for `Eq String'
(The instance type must be of form (T a
b c
)
where T is not a synonym, and a
,b,c
are distinct type variables)
(The instance type must be of form (T a
1 ... an
)
where T is not a synonym, and a
1 ... an
are distinct type
*
variables
*
)
In the instance declaration for `Eq String'
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