Commit 6183cde
authored
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
}
}
```1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
0 commit comments