-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Extract semanticDB for lifted definitions #21856
Conversation
Remove redundant LiftErased, make some lifting functions private if unused outside of class
local0 => val local c$1: Int | ||
local1 => val local b$1: Int @uncheckedVariance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are lifted arguments from the recursive
call in tests/semanticdb/expect/NamedApplyBlock.scala
. Not sure if we want to include them in the symbols list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say no. Doesn't seem to be too useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks for doing this!
[Cherry-picked 7d8f0d4][modified]
Fix #19970
Extract synthetic definitions in a lifted block.
We try to find blocks whose statements are all synthetic definitions, and
extract the rhs of all such definitions.
Add tests for occurences in lifting
Clean up EtaExpansion lifting functions