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:
parent
9b0fc81a7c
commit
3e2baecefa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user