mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
We don’t need this annotation.
This commit is contained in:
parent
31e5cc9353
commit
fe5b6d2011
@ -51,7 +51,6 @@ annotatedToRows (Annotated (Info left _ leftCategories, Info right _ rightCatego
|
||||
sumRows (rows, previousLeft, previousRight) child = (rows `adjoinRows` contextRows `adjoinRows` childRows, end leftChildRange, end rightChildRange)
|
||||
where
|
||||
(childRows, leftChildRange, rightChildRange) = diffToRows child before after
|
||||
contextRows :: [Row]
|
||||
contextRows = uncurry rowFromMaybeRows <$> zipMaybe leftElements rightElements
|
||||
leftElements = Text <$> lines (substring (Range previousLeft $ start left) before)
|
||||
rightElements = Text <$> lines (substring (Range previousRight $ start right) after)
|
||||
|
Loading…
Reference in New Issue
Block a user