1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 22:28:10 +03:00

add error to Rb.Class instance

This commit is contained in:
Ayman Nadeem 2020-05-08 15:54:07 -04:00
parent 9b0fc81a7c
commit 3e2baecefa

View File

@ -86,9 +86,9 @@ instance ToTags Rb.Class where
name = expr,
extraChildren
} = enterScope True $ case expr of
Prj Rb.Constant {text, ann} -> yield text ann
Prj Rb.ScopeResolution {name = Prj Rb.Constant {text, ann}} -> yield text ann
Prj Rb.ScopeResolution {name = Prj Rb.Identifier {text, ann}} -> yield text ann
EPrj Rb.Constant {text, ann} -> yield text ann
EPrj Rb.ScopeResolution {name = EPrj Rb.Constant {text, ann}} -> yield text ann
EPrj Rb.ScopeResolution {name = EPrj Rb.Identifier {text, ann}} -> yield text ann
_ -> gtags t
where
range' = case extraChildren of