Skip to content

Minor fix to pretty-printing of linear types

Krzysztof Gogolewski requested to merge wip/ppr-arrow-chain into master

As noticed in !4201 (comment 304421), the function ppr_arrow_chain was not printing multiplicities of fields of a data constructor. Simple fix. The function isn't used much. Test haddockA035 covers the case when -XLinearTypes is off.

Remove the Outputable instance for HsScaled - no longer used and could cover bugs like this one.

Edited by Krzysztof Gogolewski

Merge request reports