mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +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