File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
compiler/src/dotty/tools/dotc/core/classfile Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ class ClassfileParser(
363363 accept('.' )
364364 val name = subName(c => c == ';' || c == '<' || c == '.' ).toTypeName
365365 val clazz = tpe.member(name).symbol
366- tpe = processClassType(processInner(clazz.typeRef ))
366+ tpe = processClassType(processInner(TypeRef (tpe, clazz) ))
367367 }
368368 accept(';' )
369369 tpe
Original file line number Diff line number Diff line change 1+ public class J_1 {
2+ public class A <T >{
3+ public class B <U >{}
4+ }
5+ A <String >.B <String > m (){
6+ J_1 j = new J_1 ();
7+ A <String > a = j .new A <>();
8+ A <String >.B <String > b = a .new B <>();
9+ return b ;
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ object O {
2+ def main (args : Array [String ]) = {
3+ val j = new J_1
4+ val ab : J_1 # A [String ]# B [String ] = j.m()
5+ }
6+ }
You can’t perform that action at this time.
0 commit comments