Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reinier Maas
GHC
Commits
e33ca0e5
Commit
e33ca0e5
authored
8 years ago
by
Simon Peyton Jones
Browse files
Options
Downloads
Patches
Plain Diff
Fix testsuite wibble
..in typecheck/should_run/T7861 Was concealed behind the haddock perf noise
parent
70a45893
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/tests/typecheck/should_run/T7861.stderr
+11
-11
11 additions, 11 deletions
testsuite/tests/typecheck/should_run/T7861.stderr
with
11 additions
and
11 deletions
testsuite/tests/typecheck/should_run/T7861.stderr
+
11
−
11
View file @
e33ca0e5
T7861: T7861.hs:10:5: error:
Couldn't match type ‘a’ with ‘[a]’
‘a’ is a rigid type variable bound by
the type signature for:
f :: forall a. (forall b. a) -> a
at T7861.hs:9:
6
Expected type: (forall b. a) -> a
Actual type: (forall b. a) -> [a]
In the expression: doA
In an equation for ‘f’: f = doA
Relevant bindings include
f :: (forall b. a) -> a (bound at T7861.hs:10:1)
•
Couldn't match type ‘a’ with ‘[a]’
‘a’ is a rigid type variable bound by
the type signature for:
f :: forall a. (forall b. a) -> a
at T7861.hs:9:
1-23
Expected type: (forall b. a) -> a
Actual type: (forall b. a) -> [a]
•
In the expression: doA
In an equation for ‘f’: f = doA
•
Relevant bindings include
f :: (forall b. a) -> a (bound at T7861.hs:10:1)
(deferred type error)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment