Replies: 0 comments 1 reply
-
Hey @susliko thanks for the questions!
Currently, not that I know of. As far as implementing I'm actually not sure off the top of my head. However, this would be implemented in Metals itself, not the nvim extension, so I'll actually move this discussion over there to get some more insight on it from the others.
This sort of depends on whether it's implemented as just another decoded option like show semanticdb, show javap, etc or if it would be implemented in a new way. So it'd be important to answer 1 first. |
Beta Was this translation helpful? Give feedback.
-
Intro
Some Scala constructs are implemented as anonymous inner classes at the bytecode level, therefore a fraction of bytecode is hidden from view
Example 1
Inspecting a bytecode of class
C
revealsab
being an instance of such a anonymous inner classExample 2
Partial function inside
.collect
is represented as anonymous inner class as well:Question
Also, not sure if anyone else would be interested in this 😬
Beta Was this translation helpful? Give feedback.
All reactions