Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

No description provided.

Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM


case TypeTree.Singleton(ref) =>
printTree(ref)
this += ".type"
Copy link
Contributor

Choose a reason for hiding this comment

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

How Constant types are handled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are handled by printConstant. I will check that they are printed correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@liufengyun fixed the literal constant singleton types to not print ".type"

@liufengyun
Copy link
Contributor

LGTM

@liufengyun liufengyun merged commit 61355f0 into scala:master Jun 11, 2018
@liufengyun liufengyun deleted the fix-tasty-relect-singletons branch June 11, 2018 13:28
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