Remove unnecessarily returned res_ty from rejigConRes
authorRyan Scott <ryan.gl.scott@gmail.com>
Tue, 11 Jul 2017 18:03:13 +0000 (14:03 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 11 Jul 2017 18:36:05 +0000 (14:36 -0400)
commita249e9398d49882fdcb1575bba99e2dc12ddedd9
tree303f8552ade52b2bbe228947359f557238030c2c
parentec351b86c1a7f242c5495861ccbd4818c30e521d
Remove unnecessarily returned res_ty from rejigConRes

@goldfire noticed that we don't need to thread through `res_ty`
through to the return type of `rejigConRes`, as it never changes.

Reviewers: goldfire, austin, bgamari

Reviewed By: goldfire

Subscribers: rwbarton, thomie, goldfire

Differential Revision: https://phabricator.haskell.org/D3725
compiler/typecheck/TcTyClsDecls.hs