Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,324
Issues
4,324
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
385
Merge Requests
385
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
cff7590d
Commit
cff7590d
authored
Oct 21, 2008
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved error message on data constructor return types
parent
1b37d969
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
16 deletions
+18
-16
testsuite/tests/ghc-regress/gadt/gadt11.stderr
testsuite/tests/ghc-regress/gadt/gadt11.stderr
+6
-5
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail155.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail155.stderr
+6
-5
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail176.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail176.stderr
+6
-6
No files found.
testsuite/tests/ghc-regress/gadt/gadt11.stderr
View file @
cff7590d
gadt11.hs:9:2:
Data constructor `B1' returns type `X' instead of its parent type
In the definition of data constructor `B1'
In the data type declaration for `B'
gadt11.hs:9:2:
Data constructor `B1' returns type `X []'
instead of an instance of its parent type `B a'
In the definition of data constructor `B1'
In the data type declaration for `B'
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail155.stderr
View file @
cff7590d
tcfail155.hs:8:5:
Data constructor `P' returns type `L2' instead of its parent type
In the definition of data constructor `P'
In the data type declaration for `T'
tcfail155.hs:8:5:
Data constructor `P' returns type `L2'
instead of an instance of its parent type `T a'
In the definition of data constructor `P'
In the data type declaration for `T'
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail176.stderr
View file @
cff7590d
tcfail176.hs:7:20:
Data constructor `Bug' returns type `Maybe
'
instead of
its parent type
In the definition of data constructor `Bug'
In the newtype declaration for `Bug'
tcfail176.hs:7:20:
Data constructor `Bug' returns type `Maybe
a'
instead of
an instance of its parent type `Bug a'
In the definition of data constructor `Bug'
In the newtype declaration for `Bug'
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