From 5d651c78fed7e55b3b3cd21a04499d1a2f75204d Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Thu, 29 Jul 2021 20:48:04 +0200 Subject: 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. --- compiler/Language/Haskell/Syntax/Type.hs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler/Language') 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] ~~~~~~~~~~~~~~~~~~ -- cgit v1.2.1