Misc: Update test data due to changes in 'actual' constructor checking
Now actual class constructor is considered an implementation only if it has 'actual' modifier itself
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
actual class Foo(x: Int) {
|
||||
actual class Foo actual constructor(x: Int) {
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(x: Int): this("")
|
||||
actual constructor(x: Int): this("")
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(n: Int): this("")
|
||||
actual constructor(n: Int): this("")
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
actual class Foo(x: Int) {
|
||||
actual class Foo actual constructor (x: Int) {
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(x: Int): this("")
|
||||
actual constructor(x: Int): this("")
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
actual class Foo(n: Int) {
|
||||
actual class Foo actual constructor (n: Int) {
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(/*rename*/n: Int): this("")
|
||||
actual constructor(/*rename*/n: Int): this("")
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user