Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print owner of bind symbol with -Yprint-debug-owners (#16854)
Compiling with `-Yprint-debug-owners` now prints the owners of `Bind` trees. #### Before ```scala class Foo() extends Object() { [owner = class Foo]def fooImpl: Int = 1:Int match { case x @ y @ _:Int => 0 } } ``` #### After ```scala class Foo() extends Object() { [owner = class Foo]def fooImpl: Int = 1:Int match { case [owner = method fooImpl]x @ [owner = method fooImpl]y @ _:Int => 0 } } ```
- Loading branch information