diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2021-07-29 20:48:04 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-08-05 07:14:39 -0400 |
commit | 5d651c78fed7e55b3b3cd21a04499d1a2f75204d (patch) | |
tree | a60bb609ff4735e3f50ae179c906d5bba63bfc8e /compiler/Language/Haskell | |
parent | 1f8090933268b1ca071bc4a8a35b0f1828a76fce (diff) | |
download | haskell-5d651c78fed7e55b3b3cd21a04499d1a2f75204d.tar.gz |
Minor fix to pretty-printing of linear types
The function ppr_arrow_chain was not printing multiplicities.
Also remove the Outputable instance: no longer used, and could cover
bugs like those.
Diffstat (limited to 'compiler/Language/Haskell')
-rw-r--r-- | compiler/Language/Haskell/Syntax/Type.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/Language/Haskell/Syntax/Type.hs b/compiler/Language/Haskell/Syntax/Type.hs index 74f8f98432..6827438595 100644 --- a/compiler/Language/Haskell/Syntax/Type.hs +++ b/compiler/Language/Haskell/Syntax/Type.hs @@ -938,10 +938,6 @@ hsMult (HsScaled m _) = m hsScaledThing :: HsScaled pass a -> a hsScaledThing (HsScaled _ t) = t -instance Outputable a => Outputable (HsScaled pass a) where - ppr (HsScaled _cnt t) = -- ppr cnt <> ppr t - ppr t - {- Note [Unit tuples] ~~~~~~~~~~~~~~~~~~ |