mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
9 lines
244 B
Kotlin
Vendored
9 lines
244 B
Kotlin
Vendored
package test
|
|
|
|
open class ToResolve<SomeClass>(<!UNUSED_PARAMETER!>f<!> : (Int) -> Int)
|
|
fun testFun(<!UNUSED_PARAMETER!>a<!> : Int) = 12
|
|
|
|
class TestSome<P> {
|
|
companion object : ToResolve<<!UNRESOLVED_REFERENCE!>P<!>>({testFun(it)}) {
|
|
}
|
|
} |