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
@@ -1,8 +1,8 @@
package inlineFun1
class A {
inline fun component1() = foo { 1 }
inline fun component2() = foo { 2 }
inline operator fun component1() = foo { 1 }
inline operator fun component2() = foo { 2 }
inline fun foo(f: () -> Int) = f()
}