Skip to content
GitLab
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
a22ade7c
Commit
a22ade7c
authored
Aug 18, 2006
by
simonpj@microsoft.com
Browse files
I don't thing we want to add a call-context here; it just clutters the output
parent
f8171baf
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcExpr.lhs
View file @
a22ade7c
...
...
@@ -190,7 +190,7 @@ tcExpr (HsApp e1 e2) res_ty
go :: LHsExpr Name -> [LHsExpr Name] -> TcM (HsExpr TcId)
go (L _ (HsApp e1 e2)) args = go e1 (e2:args)
go lfun@(L loc fun) args
= do { (fun', args') <- addErrCtxt (callCtxt lfun args) $
= do { (fun', args') <-
--
addErrCtxt (callCtxt lfun args) $
tcApp fun (length args) (tcArgs lfun args) res_ty
; return (unLoc (foldl mkHsApp (L loc fun') args')) }
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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