Files
kotlin-fork/compiler/testData/diagnostics/tests/override/ExtendFunctionClass.jet
T
Evgeny Gerashchenko 9265ce4ec9 Renumbered type and value parameters of function types.
Their numbers now start from 1. This is made for consistency with auto-generated sources for these types. Parameters of runtime types (written in Java) are numbered starting with 0, too.
2012-05-12 21:56:42 +04:00

10 lines
169 B
Plaintext

package extendFunctionClass
class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>A<!> : (Int) -> Int {
}
class B : Function1<Int, Int> {
override fun invoke(p1 : Int) = p1
}