1
1
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:
Timothy Clem 2017-02-07 15:20:27 -08:00
parent d2d2e2113f
commit ded960356a

View File

@ -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