diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JS/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JS/src/test/test.kt index 8541821c1cd..691713d3d9e 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JS/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class C(s: String) { - constructor(n: Int, b: Boolean): this("") + actual constructor(n: Int, b: Boolean): this("") } fun test() { diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JVM/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JVM/src/test/test.kt index 72e039dd1d2..006caa892a8 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/after/JVM/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class C(n: Int, b: Boolean) { +actual class C actual constructor(n: Int, b: Boolean) { constructor(s: String): this(1, false) } diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JS/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JS/src/test/test.kt index 9969c23b279..d3411e03a5c 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JS/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class C(s: String) { - constructor(n: Int): this("") + actual constructor(n: Int): this("") } fun test() { diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JVM/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JVM/src/test/test.kt index d67c58a466d..e525a2f5da7 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructor/before/JVM/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class C(n: Int) { +actual class C actual constructor(n: Int) { constructor(s: String): this(1) } diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JS/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JS/src/test/test.kt index f0b757c4c1d..b99538e5e76 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JS/src/test/test.kt @@ -1,6 +1,8 @@ package test -actual class C(n: Int) +actual class C { + actual constructor(n: Int) +} fun test() { C(1) diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JVM/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JVM/src/test/test.kt index f0b757c4c1d..140d3256ea5 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/after/JVM/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class C(n: Int) +actual class C actual constructor(n: Int) fun test() { C(1) diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JS/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JS/src/test/test.kt index 155194b7c60..77b10490c51 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JS/src/test/test.kt @@ -1,6 +1,8 @@ package test -actual class C() +actual class C { + actual constructor() +} fun test() { C() diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JVM/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JVM/src/test/test.kt index de39fc3c08c..fca2b9afbd0 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implPrimaryConstructorNoParams/before/JVM/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class C +actual class C actual constructor() fun test() { C() diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JS/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JS/src/test/test.kt index 8541821c1cd..691713d3d9e 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JS/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class C(s: String) { - constructor(n: Int, b: Boolean): this("") + actual constructor(n: Int, b: Boolean): this("") } fun test() { diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JVM/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JVM/src/test/test.kt index 72e039dd1d2..006caa892a8 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/after/JVM/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class C(n: Int, b: Boolean) { +actual class C actual constructor(n: Int, b: Boolean) { constructor(s: String): this(1, false) } diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JS/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JS/src/test/test.kt index 1b14977669e..bad91ed0246 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JS/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class C(s: String) { - constructor(n: Int): this("") + actual constructor(n: Int): this("") } fun test() { diff --git a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JVM/src/test/test.kt b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JVM/src/test/test.kt index 767dc07e605..99d0a4a0716 100644 --- a/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/changeSignatureMultiModule/implSecondaryConstructor/before/JVM/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class C(n: Int) { +actual class C actual constructor(n: Int) { constructor(s: String): this(1) } diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JS/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JS/src/test/test.kt index da7055f8db7..ca60c902851 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo(x: Int) { +actual class Foo actual constructor(x: Int) { constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JVM/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JVM/src/test/test.kt index 36ea4bb1b48..45825360f78 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/after/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(x: Int): this("") + actual constructor(x: Int): this("") } fun test() { diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JS/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JS/src/test/test.kt index 76627bb29a9..6a8ae466ad5 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo(/*rename*/n: Int) { +actual class Foo actual constructor(/*rename*/n: Int) { constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JVM/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JVM/src/test/test.kt index db1ff58208b..989c492b6cb 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassPrimaryConstructorParameter/before/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(n: Int): this("") + actual constructor(n: Int): this("") } fun test() { diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JS/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JS/src/test/test.kt index da7055f8db7..b132e89a40e 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo(x: Int) { +actual class Foo actual constructor (x: Int) { constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JVM/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JVM/src/test/test.kt index 36ea4bb1b48..45825360f78 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/after/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(x: Int): this("") + actual constructor(x: Int): this("") } fun test() { diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JS/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JS/src/test/test.kt index 46f05afd1ed..a4ffb413546 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo(n: Int) { +actual class Foo actual constructor (n: Int) { constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JVM/src/test/test.kt b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JVM/src/test/test.kt index b5dbd0ceed8..bc5520d6b04 100644 --- a/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/renameMultiModule/headersAndImplsByImplClassSecondaryConstructorParameter/before/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(/*rename*/n: Int): this("") + actual constructor(/*rename*/n: Int): this("") } fun test() { diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt index 788e4a3491a..e46e7162a8e 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo() { +actual class Foo actual constructor() { val x = n + 1 constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt index 042e585c3cf..909b9baf390 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(): this("") { + actual constructor(): this("") { val x = n + 1 } } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt index 3438e9eb5f9..9b7d2af153f 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo(n: Int) { +actual class Foo actual constructor(n: Int) { val x = n + 1 constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt index 39007eac645..da426b1503c 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassPrimaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(n: Int): this("") { + actual constructor(n: Int): this("") { val x = n + 1 } } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt index 788e4a3491a..e46e7162a8e 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo() { +actual class Foo actual constructor() { val x = n + 1 constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt index 042e585c3cf..909b9baf390 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/after/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(): this("") { + actual constructor(): this("") { val x = n + 1 } } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt index f5c40e81acb..00ba3dd06fd 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JS/src/test/test.kt @@ -1,6 +1,6 @@ package test -actual class Foo(n: Int) { +actual class Foo actual constructor(n: Int) { val x = n + 1 constructor(s: String): this(0) } diff --git a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt index 6f76dd74d44..8bcecde2930 100644 --- a/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt +++ b/idea/testData/refactoring/safeDeleteMultiModule/byImplClassSecondaryConstructorParameterLiftingToHeader/before/JVM/src/test/test.kt @@ -1,7 +1,7 @@ package test actual class Foo(s: String) { - constructor(n: Int): this("") { + actual constructor(n: Int): this("") { val x = n + 1 } }