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 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()
|
||||
}
|
||||
Reference in New Issue
Block a user