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,273
Issues
4,273
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
413
Merge Requests
413
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
1aa636c5
Commit
1aa636c5
authored
Aug 02, 2011
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error message wibbles due to reordering constraints (the DPH problem)
parent
87a5ef5f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
testsuite/tests/indexed-types/should_compile/T3017.stderr
testsuite/tests/indexed-types/should_compile/T3017.stderr
+1
-1
testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr
testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr
+5
-5
testsuite/tests/indexed-types/should_fail/T2544.stderr
testsuite/tests/indexed-types/should_fail/T2544.stderr
+5
-5
testsuite/tests/indexed-types/should_fail/T2627b.stderr
testsuite/tests/indexed-types/should_fail/T2627b.stderr
+1
-1
testsuite/tests/indexed-types/should_fail/T4099.stderr
testsuite/tests/indexed-types/should_fail/T4099.stderr
+1
-1
No files found.
testsuite/tests/indexed-types/should_compile/T3017.stderr
View file @
1aa636c5
TYPE SIGNATURES
emptyL :: forall a. ListColl a
test2 :: forall c t t1.
(Num t
1, Num t
, Coll c, Elem c ~ (t, t1)) =>
(Num t
, Num t1
, Coll c, Elem c ~ (t, t1)) =>
c -> c
TYPE CONSTRUCTORS
data ListColl a
...
...
testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr
View file @
1aa636c5
NoMatchErr.hs:20:
5
:
Could not deduce (Memo d
~ Memo d0
)
NoMatchErr.hs:20:
12
:
Could not deduce (Memo d
0 ~ Memo d
)
from the context (Fun d)
bound by the type signature for f :: Fun d => Memo d a -> Memo d a
at NoMatchErr.hs:20:1-15
NB: `Memo' is a type function, and may not be injective
Expected type: Memo d a
Actual type: Memo d0 a
Expected type: Memo d a -> Memo d a
Actual type: Memo d0 a -> Memo d0 a
Expected type: Memo d a -> d0 -> a
Actual type: Memo d0 a -> d0 -> a
In the second argument of `(.)', namely `appl'
In the expression: abst . appl
In an equation for `f': f = abst . appl
testsuite/tests/indexed-types/should_fail/T2544.stderr
View file @
1aa636c5
T2544.hs:15:1
2
:
Could not deduce (IxMap
l ~ IxMap i0
)
T2544.hs:15:1
8
:
Could not deduce (IxMap
i0 ~ IxMap l
)
from the context (Ix l, Ix r)
bound by the instance declaration at T2544.hs:13:10-37
NB: `IxMap' is a type function, and may not be injective
Expected type: IxMap
(l :|: r)
[Int]
Actual type:
BiApp (IxMap i0) (IxMap r)
[Int]
In the
return type of a call of `BiApp
'
Expected type: IxMap
l
[Int]
Actual type:
IxMap i0
[Int]
In the
first argument of `BiApp', namely `empty
'
In the expression: BiApp empty empty
In an equation for `empty': empty = BiApp empty empty
...
...
testsuite/tests/indexed-types/should_fail/T2627b.stderr
View file @
1aa636c5
T2627b.hs:20:24:
Occurs check: cannot construct the infinite type:
b0 = Dual (Dual b
0)
a0 = Dual (Dual a
0)
In the expression: conn undefined undefined
In an equation for `conn':
conn (Rd k) (Wr a r) = conn undefined undefined
testsuite/tests/indexed-types/should_fail/T4099.stderr
View file @
1aa636c5
T4099.hs:11:14:
Couldn't match type `T
a0' with `T b
'
Couldn't match type `T
b' with `T a0
'
NB: `T' is a type function, and may not be injective
In the first argument of `foo', namely `x'
In the expression: foo x
...
...
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