Files
kotlin/compiler/testData/diagnostics/tests/classObjects/classObjectHeader.kt
2015-08-18 21:26:42 +03:00

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)}) {
}
}