Improve -dsuppress-coercions
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 8 Feb 2017 11:31:32 +0000 (11:31 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 8 Feb 2017 11:33:32 +0000 (11:33 +0000)
commit421308ef6ae3987f8077c6bfe1d9a6a03e53458c
tree62224e93dc34354f5f4c5dd8f1c1ba052bcaf4af
parent8e9593fb2147252ecb8b685ef6bf9c0237a71219
Improve -dsuppress-coercions

The -dsuppress-coercions flag was being ignored when printing the
CastIt constructor in SimplUtils.SimplCont.  This fixes ths problem,
and improves what is printed when suppressing coercions, to show the
size of the suppressed coercion.
compiler/coreSyn/PprCore.hs
compiler/simplCore/SimplUtils.hs