mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Remove S.MemberAccess case entirely since it's now handled above
This commit is contained in:
parent
d2d2e2113f
commit
ded960356a
@ -154,7 +154,6 @@ toTermName source term = case unwrap term of
|
||||
S.Function identifier _ _ _ -> toTermName' identifier
|
||||
S.Method identifier Nothing _ _ _ -> toTermName' identifier
|
||||
S.Method identifier (Just receiver) _ _ _ -> toTermName' receiver <> "." <> toTermName' identifier
|
||||
-- S.MemberAccess base property -> toTermName' base <> "." <> toTermName' property
|
||||
_ -> termNameFromSource term
|
||||
where
|
||||
toTermName' = toTermName source
|
||||
|
Loading…
Reference in New Issue
Block a user