Fix old testdata: add missing operator modifier
This testdata was written when there was no "operator" modifier.
After a83225218f rules for operators become stricter and now functions without operators are not considered as such
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package a
|
||||
|
||||
class MyPair {
|
||||
fun component1() = 1
|
||||
fun component2() = 2
|
||||
operator fun component1() = 1
|
||||
operator fun component2() = 2
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
Reference in New Issue
Block a user