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
d7335f74
Commit
d7335f74
authored
Jul 13, 2015
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#10463
was fixed along with Trac
#10224
parent
875723b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
testsuite/tests/partial-sigs/should_compile/T10463.hs
testsuite/tests/partial-sigs/should_compile/T10463.hs
+5
-0
testsuite/tests/partial-sigs/should_compile/T10463.stderr
testsuite/tests/partial-sigs/should_compile/T10463.stderr
+8
-0
testsuite/tests/partial-sigs/should_compile/all.T
testsuite/tests/partial-sigs/should_compile/all.T
+1
-0
No files found.
testsuite/tests/partial-sigs/should_compile/T10463.hs
0 → 100644
View file @
d7335f74
{-# LANGUAGE ScopedTypeVariables, PartialTypeSignatures #-}
module
T10463
where
f
(
x
::
_
)
=
x
++
""
testsuite/tests/partial-sigs/should_compile/T10463.stderr
0 → 100644
View file @
d7335f74
T10463.hs:5:9: warning:
Found type wildcard ‘_’ standing for ‘[Char]’
Relevant bindings include
f :: [Char] -> [Char] (bound at T10463.hs:5:1)
In a pattern type signature: _
In the pattern: x :: _
In an equation for ‘f’: f (x :: _) = x ++ ""
testsuite/tests/partial-sigs/should_compile/all.T
View file @
d7335f74
...
...
@@ -49,3 +49,4 @@ test('WarningWildcardInstantiations', normal, compile, ['-ddump-types'])
test
('
T10403
',
normal
,
compile
,
[''])
test
('
T10438
',
normal
,
compile
,
[''])
test
('
T10519
',
normal
,
compile
,
[''])
test
('
T10463
',
normal
,
compile
,
[''])
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