JS: prepare tests for secondary constructors

This commit is contained in:
Zalim Bashorov
2015-05-22 18:33:38 +03:00
parent 72c2648fc8
commit dc1b91eacd
7 changed files with 171 additions and 2 deletions
@@ -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 {