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

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// Checks that accessor are not used because property can be accessed directly.
interface I {

View File

@@ -1,5 +1,4 @@
// !LANGUAGE: +NoConstantValueAttributeForNonConstVals +JvmFieldInInterface
// IGNORE_BACKEND: JVM_IR
class C {
val testClassVal = 100