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,247
Issues
4,247
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
396
Merge Requests
396
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
9f968e97
Commit
9f968e97
authored
May 20, 2015
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix binary instance for IfaceLitTy
Thanks to Christiaan Baaj for spotting this.
parent
c9349146
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
compiler/iface/IfaceType.hs
compiler/iface/IfaceType.hs
+1
-3
No files found.
compiler/iface/IfaceType.hs
View file @
9f968e97
...
...
@@ -748,11 +748,9 @@ instance Binary IfaceType where
;
return
(
IfaceTyConApp
tc
tys
)
}
6
->
do
{
s
<-
get
bh
;
i
<-
get
bh
;
tys
<-
get
bh
;
return
(
IfaceTupleTy
s
i
tys
)
}
30
->
do
n
<-
get
bh
_
->
do
n
<-
get
bh
return
(
IfaceLitTy
n
)
_
->
panic
(
"get IfaceType "
++
show
h
)
instance
Binary
IfaceCoercion
where
put_
bh
(
IfaceReflCo
a
b
)
=
do
putByte
bh
1
...
...
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