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,309
Issues
4,309
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
383
Merge Requests
383
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
ea2f35b5
Commit
ea2f35b5
authored
Mar 20, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#4135
parent
9f598bbc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
testsuite/tests/th/T4135.hs
testsuite/tests/th/T4135.hs
+16
-0
testsuite/tests/th/T4135.stdout
testsuite/tests/th/T4135.stdout
+1
-0
testsuite/tests/th/all.T
testsuite/tests/th/all.T
+1
-0
No files found.
testsuite/tests/th/T4135.hs
0 → 100644
View file @
ea2f35b5
{-# LANGUAGE TypeFamilies,TemplateHaskell #-}
module
Bug
where
import
Language.Haskell.TH
import
System.IO
class
C
a
where
type
T
a
$
(
do
{
ds
<-
[
d
|
instance C (Maybe a) where
type T (Maybe a) = Char
|]
;
runIO
$
do
{
putStrLn
(
pprint
ds
);
hFlush
stdout
}
;
return
ds
})
testsuite/tests/th/T4135.stdout
0 → 100644
View file @
ea2f35b5
\ No newline at end of file
testsuite/tests/th/all.T
View file @
ea2f35b5
...
@@ -225,4 +225,5 @@ test('T5883', normal, compile, ['-v0 -dsuppress-uniques -ddump-splices'])
...
@@ -225,4 +225,5 @@ test('T5883', normal, compile, ['-v0 -dsuppress-uniques -ddump-splices'])
test
('
T5882
',
normal
,
compile
,
['
-v0
'])
test
('
T5882
',
normal
,
compile
,
['
-v0
'])
test
('
T5886
',
extra_clean
(['
T5886a.hi
','
T5886a.o
']),
test
('
T5886
',
extra_clean
(['
T5886a.hi
','
T5886a.o
']),
multimod_compile
,
['
T5886
','
-v0
'])
multimod_compile
,
['
T5886
','
-v0
'])
test
('
T4135
',
normal
,
compile
,
['
-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