Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8c1866ad
Commit
8c1866ad
authored
Oct 02, 2015
by
Simon Peyton Jones
Browse files
Comments only
parent
427f8a15
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcMatches.hs
View file @
8c1866ad
...
...
@@ -890,6 +890,8 @@ tcApplicativeStmts ctxt pairs rhs_ty thing_inside
;
let
fun_ty
=
mkFunTys
pat_tys
body_ty
-- NB. do the <$>,<*> operators first, we don't want type errors here
-- i.e. goOps before goArgs
-- See Note [Treat rebindable syntax first]
;
let
(
ops
,
args
)
=
unzip
pairs
;
ops'
<-
goOps
fun_ty
(
zip3
ops
(
ts
++
[
rhs_ty
])
exp_tys
)
...
...
Write
Preview
Supports
Markdown
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