Skip to content

Rename TASTy reflect TypeTree.Synthetic to TypeTree.Inferred #5501

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

Merged

Conversation

nicolasstucki
Copy link
Contributor

As suggested by @liufengyun, the name Synthetic is not really meaningful. He also suggested the name Inferred which matches exactly the semantic of the AST.

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.

LGTM

@liufengyun liufengyun merged commit 189e78e into scala:master Nov 23, 2018
@liufengyun liufengyun deleted the rename-tasty-synthetic-to-inferred branch November 23, 2018 08:07
@sjrd
Copy link
Member

sjrd commented Nov 23, 2018

Inferred is a bit too specific, and might not match some nodes such as setters for vars. I would suggest "synthesized".

@nicolasstucki
Copy link
Contributor Author

This is inside of the TypeTree module, it should be clear that it is not a synthetic term or definition. It is normally used as TypeTree.Inferred().

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.

4 participants