diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2015-07-26 22:19:40 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2015-07-31 10:41:52 +0200 |
commit | 3436273f6e87d9358f6c23ad5b6b2838ce573892 (patch) | |
tree | afa9d545c787f00de60073eda53b543128322471 /haddock-library/src/Documentation/Haddock/Parser/Monad.hs | |
parent | cf2c2d006bbd54c0852f82dccfcc23ec66d33894 (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-library/src/Documentation/Haddock/Parser/Monad.hs')
0 files changed, 0 insertions, 0 deletions