Skip to content
Snippets Groups Projects
Commit 99a44d1c authored by sof's avatar sof
Browse files

[project @ 1998-08-31 11:07:24 by sof]

collectArgs: return function expr. as first argument, not the whole
expression.
parent 96f39afc
No related merge requests found
......@@ -478,7 +478,11 @@ collectArgs expr
(expr, tacc, vacc) }
tyvars (App fun (TyArg t)) tacc = tyvars fun (t:tacc)
tyvars fun tacc = (expr, tacc)
tyvars fun tacc = (fun, tacc)
-- WAS: tyvars fun tacc = (expr, tacc)
-- This doesn't look right (i.e., Plain Wrong),
-- collectArgs should return the the function and
-- not the whole expr. -- Laszlo 8/98
\end{code}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment