JS: prepare tests for secondary constructors
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
// TODO enable for JS backend too when KT-4124 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
class Outer {
|
||||
val outerProp: String
|
||||
constructor(x: String) {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// TODO enable for JS backend too when KT-4124 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
class Outer {
|
||||
val outerProp: String
|
||||
constructor(x: String) {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// 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 = ""
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// TODO enable for JS backend too when KT-7819 will be fixed
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
inline fun run(block: () -> Unit) = block()
|
||||
|
||||
class A {
|
||||
|
||||
Reference in New Issue
Block a user