mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
JVM IR: Convert interface companion fields to static fields.
This commit is contained in:
committed by
max-kammerer
parent
e6211c4995
commit
f34a08cbbf
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// Checks that accessor are not used because property can be accessed directly.
|
||||
|
||||
interface I {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +NoConstantValueAttributeForNonConstVals +JvmFieldInInterface
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
class C {
|
||||
val testClassVal = 100
|
||||
|
||||
Reference in New Issue
Block a user