Small improvement in pretty-printing constructors.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sun, 20 Sep 2015 20:03:07 +0000 (16:03 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Mon, 21 Sep 2015 01:39:16 +0000 (21:39 -0400)
commit6a2092050c14570b9131fb5189c96dc562713b4c
tree936e0ef0e569085fa67af6d0ec7c711ef052d241
parent93fafe057da20c40ff0a0f383e3341cac6aaee23
Small improvement in pretty-printing constructors.

This fixes #10810 by cleaning up pretty-printing of constructor
declarations. This change also removes a (in my opinion) deeply
bogus orphan instance OutputableBndr [Located name], making
HsDecls now a non-orphan module. Yay all around.

Test case: th/T10810
compiler/hsSyn/HsDecls.hs
testsuite/tests/th/T10810.hs [new file with mode: 0644]
testsuite/tests/th/T10810.stderr [new file with mode: 0644]
testsuite/tests/th/all.T