Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add names to v0.Denotations (fix #792) #801

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

MasseGuillaume
Copy link
Contributor

No description provided.

Copy link
Contributor

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thanks for fixing this! I will follow up with a PR replacing link with info(sym).info.signature

@@ -67,6 +67,10 @@ final class SemanticDoc private[scalafix] (
// Privates
// ========

private[scalafix] def link(sym: Sym): s.Signature = {
symtab.info(sym.value).get.signature
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this method necessary? I think the following two are equivalent: link(sym) == info(sym).info.signature

@olafurpg olafurpg merged commit e446562 into scalacenter:master Aug 20, 2018

private def pprint(signature: s.Signature): Unit = {
signature match {
case sig: s.ClassSignature =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olafurpg should we support those? I gave it a try and it was not so easy, this is why I left a stub here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants