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,332
Issues
4,332
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
363
Merge Requests
363
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
8d89d80d
Commit
8d89d80d
authored
Sep 17, 2015
by
thomie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testsuite: add test for
#10781
parent
e66daeca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
testsuite/tests/rename/should_fail/T10781.hs
testsuite/tests/rename/should_fail/T10781.hs
+12
-0
testsuite/tests/rename/should_fail/T10781.stderr
testsuite/tests/rename/should_fail/T10781.stderr
+2
-0
testsuite/tests/rename/should_fail/all.T
testsuite/tests/rename/should_fail/all.T
+1
-0
No files found.
testsuite/tests/rename/should_fail/T10781.hs
0 → 100644
View file @
8d89d80d
module
T10781
where
{- ghc-7.10.2 reported:
T10781.hs:6:5:
Found hole ‘_name’ with type: t
Where: ‘t’ is a rigid type variable bound by
the inferred type of f :: t at T10781.hs:6:1
Relevant bindings include f :: t (bound at T10781.hs:6:1)
In the expression: Foo._name
In an equation for ‘f’: f = Foo._name
-}
f
=
Foo
.
_name
testsuite/tests/rename/should_fail/T10781.stderr
0 → 100644
View file @
8d89d80d
T10781.hs:12:5: error: Not in scope: ‘Foo._name’
testsuite/tests/rename/should_fail/all.T
View file @
8d89d80d
...
...
@@ -137,3 +137,4 @@ test('T9032',
test
('
T10618
',
normal
,
compile_fail
,
[''])
test
('
T10668
',
normal
,
compile_fail
,
[''])
test
('
T5001b
',
normal
,
compile_fail
,
[''])
test
('
T10781
',
normal
,
compile_fail
,
[''])
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