diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2015-09-20 16:03:07 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2015-09-20 21:39:16 -0400 |
commit | 6a2092050c14570b9131fb5189c96dc562713b4c (patch) | |
tree | 936e0ef0e569085fa67af6d0ec7c711ef052d241 /testsuite/tests/th/T10810.stderr | |
parent | 93fafe057da20c40ff0a0f383e3341cac6aaee23 (diff) | |
download | haskell-6a2092050c14570b9131fb5189c96dc562713b4c.tar.gz |
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
Diffstat (limited to 'testsuite/tests/th/T10810.stderr')
-rw-r--r-- | testsuite/tests/th/T10810.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/th/T10810.stderr b/testsuite/tests/th/T10810.stderr new file mode 100644 index 0000000000..c960fe1941 --- /dev/null +++ b/testsuite/tests/th/T10810.stderr @@ -0,0 +1,2 @@ +T10810.hs:6:3-24: Splicing declarations + [d| data Foo = (:!) |] ======> data Foo = (:!) |