Merge pull request #694 from eatnumber1/end_column

Emit the end line in the JSON
This commit is contained in:
koalaman
2016-06-18 15:09:58 -07:00
committed by GitHub

View File

@@ -40,6 +40,7 @@ instance JSON (PositionedComment) where
showJSON comment@(PositionedComment start end (Comment level code string)) = makeObj [
("file", showJSON $ posFile start),
("line", showJSON $ posLine start),
("endLine", showJSON $ posLine end),
("column", showJSON $ posColumn start),
("endColumn", showJSON $ posColumn end),
("level", showJSON $ severityText comment),