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() {
|
||||
actual class Foo actual constructor() {
|
||||
val x = n + 1
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(): this("") {
|
||||
actual constructor(): this("") {
|
||||
val x = n + 1
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
actual class Foo(<caret>n: Int) {
|
||||
actual class Foo actual constructor(<caret>n: Int) {
|
||||
val x = n + 1
|
||||
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("") {
|
||||
val x = n + 1
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
actual class Foo() {
|
||||
actual class Foo actual constructor() {
|
||||
val x = n + 1
|
||||
constructor(s: String): this(0)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(): this("") {
|
||||
actual constructor(): this("") {
|
||||
val x = n + 1
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
actual class Foo(s: String) {
|
||||
constructor(<caret>n: Int): this("") {
|
||||
actual constructor(<caret>n: Int): this("") {
|
||||
val x = n + 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user