mirror of
https://github.com/github/semantic.git
synced 2024-12-23 06:41:45 +03:00
Add Constructor to toTermName
This commit is contained in:
parent
347f0309dd
commit
27941fd2ce
@ -68,6 +68,7 @@ toTermName source term = case unwrap term of
|
||||
forClauseRanges = characterRange . extract <$> exprs
|
||||
S.While expr _ -> toTermName' expr
|
||||
S.DoWhile _ expr -> toTermName' expr
|
||||
S.Constructor expr -> toTermName' expr
|
||||
Comment a -> toCategoryName a
|
||||
where toTermName' = toTermName source
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user