mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
No need to qualify sourceSpan.
This commit is contained in:
parent
a55b97b017
commit
c73a79eb83
@ -130,7 +130,7 @@ mapToInSummarizable sources diff children = case (beforeTerm diff, afterTerm dif
|
||||
mapToInSummarizable' source term summary =
|
||||
case (parentInfo summary, summarizable term) of
|
||||
(NotSummarizable, SummarizableTerm _) ->
|
||||
summary { parentInfo = InSummarizable (category (extract term)) (toTermName 0 source term) (Info.sourceSpan (extract term)) }
|
||||
summary { parentInfo = InSummarizable (category (extract term)) (toTermName 0 source term) (sourceSpan (extract term)) }
|
||||
(_, _) -> summary
|
||||
|
||||
summarizable :: ComonadCofree (Syntax t) w => w a -> SummarizableTerm (w a)
|
||||
|
Loading…
Reference in New Issue
Block a user