scalacenter / scala-debug-adapter

Implementation of the Debug Adapter Protocol for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redundant tree node in runtime evaluation

iusildra opened this issue · comments

In the ADT used for validation, we have the OuterTree that represents both OuterClassTree and OuterModuleTree

However, in the case of an outer class, we access it through a field, so OuterClassTree is a duplicate of InstanceFieldTree. It should either be removed or transformed to extends InstanceFieldTree with OuterTree