-
Notifications
You must be signed in to change notification settings - Fork 224
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 support for denotation by tree #1311
Comments
Can you give an example? |
If I understand correctly, this sounds like |
@olafurpg What is the current proper usage of index.denotation(tree)? This came up as the last couple of times I have paired with people working with scalameta and scalafix this is a thing that frequently looks useful based on type signatures, but always results in None. I might be misunderstanding when I should be looking for denotation vs tpe |
that method is a shorthand for |
Duplicate of #1212. You can query the type of a symbol with the current api but not a term. |
A common request is to get the denotation of a tree. As a rough guess this would be the denotation of the last element in the tree unless it is a block, in which case it would be the denotation of the last statement in the block.
The text was updated successfully, but these errors were encountered: