scala-debug-adapter icon indicating copy to clipboard operation
scala-debug-adapter copied to clipboard

Create the tasty-binary-lookup library

Open adpi2 opened this issue 2 years ago • 0 comments

The scala3-step-filter library is able to find a TASTy symbol from a JDI method (the binary method signature). This feature could be reused in other tools (a better stack trace tool) or debugger implementations (IntelliJ).

As a first step we will publish the tasty-binary-lookup as a separate library, and maybe move it to its own repository.

Also we should implement the following features:

  • Find a local symbol, defined in a block
  • Identitfy the nature of the binary method and decorate the TASTy symbol correspondingly. For instance, if I pass the getter method of a field, it should return a Getter(field: TermSymbol) where field is the TASTy symbol of the field.

adpi2 avatar Apr 04 '23 14:04 adpi2