use "destructuring declarations" term instead of "multi-declarations"
This commit is contained in:
Vendored
+4
-4
@@ -1,7 +1,7 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "true"
|
||||
// ERROR: Multi-declaration initializer of type aaa.Some must have a 'component1()' function
|
||||
// ERROR: Multi-declaration initializer of type aaa.Some must have a 'component2()' function
|
||||
// ERROR: Destructuring declaration initializer of type aaa.Some must have a 'component1()' function
|
||||
// ERROR: Destructuring declaration initializer of type aaa.Some must have a 'component2()' function
|
||||
|
||||
package testing
|
||||
|
||||
@@ -37,8 +37,8 @@ operator fun Some.component2() = 3
|
||||
|
||||
// FILE: first.after.kt
|
||||
// "Import" "true"
|
||||
// ERROR: Multi-declaration initializer of type aaa.Some must have a 'component1()' function
|
||||
// ERROR: Multi-declaration initializer of type aaa.Some must have a 'component2()' function
|
||||
// ERROR: Destructuring declaration initializer of type aaa.Some must have a 'component1()' function
|
||||
// ERROR: Destructuring declaration initializer of type aaa.Some must have a 'component2()' function
|
||||
|
||||
package testing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user