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:
Mikhail Zarechenskiy
2019-09-24 09:50:03 +03:00
parent a98c610958
commit 78affdd2b4
5 changed files with 9 additions and 9 deletions
@@ -3,8 +3,8 @@ package a
class A() {
}
fun A.component1() = 1
fun A.component2() = 1
operator fun A.component1() = 1
operator fun A.component2() = 1
fun main(args: Array<String>) {
val (a, <caret>b) = A()