JVM IR: Convert interface companion fields to static fields.

This commit is contained in:
Steven Schäfer
2019-08-07 14:19:17 +02:00
committed by max-kammerer
parent e6211c4995
commit f34a08cbbf
10 changed files with 22 additions and 20 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
import kotlin.reflect.KProperty
class TestDelegate() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
import kotlin.reflect.KProperty
class TestDelegate() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface Test {
companion object {
internal const val prop: Int = 0;
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface Test {
companion object {
private val prop = 0;
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface Test {
companion object {
private var prop = 0;
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface Test {
companion object {
public const val prop: Int = 0;