Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
319a0b23
Commit
319a0b23
authored
Jun 02, 2008
by
Simon Marlow
Browse files
Fix validate: -Werror bug in patch "Replacing copyins and copyouts..."
parent
a8c3a7cc
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/iface/BinIface.hs
View file @
319a0b23
...
...
@@ -74,11 +74,6 @@ readBinIface_ checkHiWay traceBinIFaceReading hi_path nc = do
vcat
[
text
"Wanted "
<>
ppr
wanted
<>
text
","
,
text
"got "
<>
ppr
got
])
errorOnMismatch'
::
(
Eq
a
,
Show
a
)
=>
String
->
a
->
a
->
IO
()
->
IO
()
errorOnMismatch'
what
wanted
got
io
=
do
when
(
wanted
/=
got
)
$
io
errorOnMismatch
what
wanted
got
errorOnMismatch
::
(
Eq
a
,
Show
a
)
=>
String
->
a
->
a
->
IO
()
errorOnMismatch
what
wanted
got
-- This will be caught by readIface which will emit an error
...
...
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