FIR2IR: convert qualifiers to companion objects, if any
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
class Foo private constructor(val param: String = "OK") {
|
||||
companion object {
|
||||
val s = Foo()
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
class A {
|
||||
companion object {
|
||||
fun Int.foo(a: Int = 1): Int {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// KT-5786 NoSuchMethodError: no accessor for private fun with default arguments
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
var state: String = "Fail"
|
||||
|
||||
class A private constructor(x: String = "OK") {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
var state: String = "Fail"
|
||||
|
||||
class A {
|
||||
|
||||
Reference in New Issue
Block a user