Commit 2708c8c
committed
fix(#19806): wrong tasty of scala module class reference
This commit makes the following diff to TASTy for i17255
files. The TASTy before this commit relied on the compiler (aka all TASTy clients)
intrinsically knowing how to resolve Module$ when the definition is actually Module[ModuleClass].
```sh
scalac tests/run/i17255/J.java tests/run/i17255/Module.scala -Yprint-tasty -Yjava-tasty
```
```diff
90: EMPTYCLAUSE
91: TERMREF 17 [Module]
93: SHAREDtype 12
95: ELIDED
96: SHAREDtype 91
98: STATIC
99: DEFDEF(12) 18 [module]
102: EMPTYCLAUSE
- 103: SELECTtpt 19 [Module$]
+ 103: SELECTtpt 19 [Module[ModuleClass]]
105: SHAREDtype 3
107: ELIDED
108: TYPEREF 17 [Module]
110: SHAREDtype 3
112: STATIC
```1 parent 929714c commit 2708c8c
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
692 | 696 | | |
693 | 697 | | |
694 | 698 | | |
| |||
0 commit comments