78affdd2b4
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
8 lines
169 B
Kotlin
Vendored
8 lines
169 B
Kotlin
Vendored
package inlineFun1
|
|
|
|
class A {
|
|
inline operator fun component1() = foo { 1 }
|
|
inline operator fun component2() = foo { 2 }
|
|
|
|
inline fun foo(f: () -> Int) = f()
|
|
} |