KT-20421 fixing code generation for the case when "object" extends "class". It should look like: "object: class()".
This commit is contained in:
committed by
Ilya Kirillov
parent
26ca205f7e
commit
a5368e443c
+6
@@ -0,0 +1,6 @@
|
||||
class Base {
|
||||
static final int F = 0;
|
||||
}
|
||||
final class A extends Base {
|
||||
static final int F1 = 0;
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
internal open class Base {
|
||||
companion object {
|
||||
const val F = 0
|
||||
}
|
||||
}
|
||||
|
||||
internal object A : Base() {
|
||||
const val F1 = 0
|
||||
}
|
||||
Reference in New Issue
Block a user