diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2015-07-26 22:19:40 +0200 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2015-12-14 15:14:06 +0000 |
commit | 81653061d333a1e7d6024e132b1a72a947b9b0ab (patch) | |
tree | 492ba1fefe07a364a7bcbc05057642fa84ff7d78 /haddock.wrapper | |
parent | 2d38f9b34a19b77f4260e8a0291156dace1d63fc (diff) |
Replace (SourceText,FastString) with WithSourceText data type
Phab:D907 introduced SourceText for a number of data types, by replacing
FastString with (SourceText,FastString). Since this has an Outputable
instance, no warnings are generated when ppr is called on it, but
unexpected output is generated. See Phab:D1096 for an example of this.
Replace the (SourceText,FastString) tuples with a new data type
data WithSourceText = WithSourceText SourceText FastString
Trac ticket: #10692
Diffstat (limited to 'haddock.wrapper')
0 files changed, 0 insertions, 0 deletions