J2K: correct conversion of nested class references
#KT-5294 Fixed #KT-5400 Fixed
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import A.Nested;
|
||||
|
||||
class A {
|
||||
A(Nested nested) {
|
||||
}
|
||||
|
||||
A() {
|
||||
this(new Nested(Nested.FIELD));
|
||||
}
|
||||
|
||||
static class Nested {
|
||||
Nested(int p){}
|
||||
|
||||
public static final int FIELD = 0;
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
Nested nested;
|
||||
}
|
||||
Reference in New Issue
Block a user