KT-11030 Fix translation of secondary constructors of inner classes
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// TODO: Enable for JS when it supports local classes.
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun testFun1(str: String): String {
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// TODO enable for JS backend too when KT-6203 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
class A(val result: Int) {
|
||||
object B {
|
||||
fun bar(): Int = 4
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// TODO enable for JS backend too when KT-4124 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
class Outer {
|
||||
val outerProp: String
|
||||
constructor(x: String) {
|
||||
|
||||
-3
@@ -1,6 +1,3 @@
|
||||
// TODO enable for JS backend too when KT-4124 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
class Outer {
|
||||
val outerProp: String
|
||||
constructor(x: String) {
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// TODO enable for JS backend too when KT-4124 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
open class C(val grandParentProp: String)
|
||||
fun box(): String {
|
||||
var sideEffects: String = ""
|
||||
|
||||
Reference in New Issue
Block a user