1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 08:27:56 +03:00

Fix Ruby Tags Prj

This commit is contained in:
Ayman Nadeem 2020-06-08 15:07:58 -04:00
parent c9d4e59d02
commit f2cf1cadfe

View File

@ -288,8 +288,8 @@ instance ToTags Rb.MethodCall where
{ ann = Loc {byteRange = byteRange@Range {}},
method = expr
} = case expr of
EPrj (Rb.Variable (EPrj Rb.Identifier {text, ann})) -> yield text P.CALL ann
EPrj (Rb.Variable (EPrj Rb.Constant {text, ann})) -> yield text P.CALL ann -- TODO: Should yield Constant
EPrj (Rb.Variable (Prj Rb.Identifier {text, ann})) -> yield text P.CALL ann
EPrj (Rb.Variable (Prj Rb.Constant {text, ann})) -> yield text P.CALL ann -- TODO: Should yield Constant
EPrj Rb.ScopeResolution {name = EPrj Rb.Identifier {text, ann}} -> yield text P.CALL ann
EPrj Rb.ScopeResolution {name = EPrj Rb.Constant {text, ann}} -> yield text P.CALL ann -- TODO: Should yield Constant
EPrj Rb.Call {method} -> case method of