Small refactor
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 10 Jan 2019 12:08:47 +0000 (12:08 +0000)
committerBen Gamari <ben@well-typed.com>
Thu, 17 Jan 2019 18:39:40 +0000 (13:39 -0500)
commit56c26f5e523f4441019f707cc08d6778e1a739bb
tree399e18c67316d6f4707a1f00ce70c69291ae7574
parent7b7b338b9a18cccaf2692556da868e45164938b7
Small refactor

...to use the same error message rather than duplicating it
compiler/typecheck/TcInstDcls.hs