diff options
author | Eric Seidel <gridaphobe@gmail.com> | 2016-02-06 14:16:53 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-02-06 08:46:39 -0500 |
commit | 38af3d1db2889423a12a2232b9d52181bba23d75 (patch) | |
tree | e8ce3c739cc76a2bbd8ce4f6c9f6a43b0d3d0683 /compiler/codeGen | |
parent | 8aa9f35e4c5e14410bc76ab08ef73f1abe700189 (diff) | |
download | haskell-38af3d1db2889423a12a2232b9d52181bba23d75.tar.gz |
Add a derived `Show SrcLoc` instance
Test Plan:
```
ghci> import GHC.Stack
ghci> SrcLoc "f" "b" "c" 1 2 3 4
SrcLoc {srcLocPackage = "f", srcLocModule = "b", srcLocFile = "c",
srcLocStartLine = 1, srcLocStartCol = 2, srcLocEndLine = 3,
srcLocEndCol = 4}
```
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: thomie
Projects: #ghc
Differential Revision: https://phabricator.haskell.org/D1886
GHC Trac Issues: #11510
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions