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,262
Issues
4,262
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
418
Merge Requests
418
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
b1391024
Commit
b1391024
authored
Sep 20, 2013
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test Trac
#7800
parent
fd4e4ab3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
+18
-0
testsuite/tests/deriving/should_fail/T7800.hs
testsuite/tests/deriving/should_fail/T7800.hs
+7
-0
testsuite/tests/deriving/should_fail/T7800.stderr
testsuite/tests/deriving/should_fail/T7800.stderr
+6
-0
testsuite/tests/deriving/should_fail/T7800a.hs
testsuite/tests/deriving/should_fail/T7800a.hs
+4
-0
testsuite/tests/deriving/should_fail/all.T
testsuite/tests/deriving/should_fail/all.T
+1
-0
No files found.
testsuite/tests/deriving/should_fail/T7800.hs
0 → 100644
View file @
b1391024
{-# LANGUAGE StandaloneDeriving, DeriveDataTypeable #-}
module
T7800
where
import
T7800a
import
Data.Typeable
deriving
instance
Typeable
A
testsuite/tests/deriving/should_fail/T7800.stderr
0 → 100644
View file @
b1391024
[1 of 2] Compiling T7800a ( T7800a.hs, T7800a.o )
[2 of 2] Compiling T7800 ( T7800.hs, T7800.o )
T7800.hs:7:1:
To make a Typeable instance of poly-kinded ‛A’, use XPolyKinds
In the stand-alone deriving instance for ‛Typeable A’
testsuite/tests/deriving/should_fail/T7800a.hs
0 → 100644
View file @
b1391024
{-# LANGUAGE PolyKinds #-}
module
T7800a
where
data
A
a
\ No newline at end of file
testsuite/tests/deriving/should_fail/all.T
View file @
b1391024
...
@@ -46,3 +46,4 @@ test('T1496', normal, compile_fail, [''])
...
@@ -46,3 +46,4 @@ test('T1496', normal, compile_fail, [''])
test
('
T4846
',
normal
,
compile_fail
,
[''])
test
('
T4846
',
normal
,
compile_fail
,
[''])
test
('
T7148
',
normal
,
compile_fail
,
[''])
test
('
T7148
',
normal
,
compile_fail
,
[''])
test
('
T7148a
',
normal
,
compile_fail
,
[''])
test
('
T7148a
',
normal
,
compile_fail
,
[''])
test
('
T7800
',
normal
,
multimod_compile_fail
,
['
T7800
',''])
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