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,274
Issues
4,274
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
412
Merge Requests
412
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
1a986394
Commit
1a986394
authored
Mar 30, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TH_scopedTvs succeeds now we have scoped type variables in TH
parent
6137c0f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
testsuite/tests/th/T3177a.stderr
testsuite/tests/th/T3177a.stderr
+1
-1
testsuite/tests/th/TH_scopedTvs.stderr
testsuite/tests/th/TH_scopedTvs.stderr
+0
-4
testsuite/tests/th/all.T
testsuite/tests/th/all.T
+1
-1
No files found.
testsuite/tests/th/T3177a.stderr
View file @
1a986394
T3177a.hs:8:15:
`Int' is applied to too many type arguments
In the type `Int Int'
In the Template Haskell quotation [t| Int Int |]
In the first argument of `id', namely `[t| Int Int |]'
In the expression: id [t| Int Int |]
T3177a.hs:11:6:
`Int' is applied to too many type arguments
...
...
testsuite/tests/th/TH_scopedTvs.stderr
deleted
100644 → 0
View file @
6137c0f3
TH_scopedTvs.hs:6:13:
Illegal lexically-scoped type variable `a'
Lexically scoped type variables are not supported by Template Haskell
testsuite/tests/th/all.T
View file @
1a986394
...
...
@@ -125,7 +125,7 @@ test('TH_dataD1', normal, compile_fail, ['-v0'])
test
('
TH_ppr1
',
normal
,
compile_and_run
,
[''])
test
('
TH_fail
',
normal
,
compile_fail
,
['
-v0
'])
test
('
TH_scopedTvs
',
normal
,
compile
_fail
,
['
-v0
'])
test
('
TH_scopedTvs
',
normal
,
compile
,
['
-v0
'])
test
('
TH_runIO
',
normal
,
compile_fail
,
['
-v0
'])
...
...
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