Make FunctionN interfaces

FunctionN and ExtensionFunctionN are now interfaces, with the corresponding
implementations in FunctionImplN and ExtensionFunctionImplN

Update test data
This commit is contained in:
Alexander Udalov
2013-03-20 19:00:06 +04:00
parent 34470ec89a
commit 6f6cb03549
97 changed files with 1199 additions and 297 deletions
@@ -1,9 +1,9 @@
package extendFunctionClass
class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>A<!> : Function1<Int, Int>() {
class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>A<!> : Function1<Int, Int> {
}
class B : Function1<Int, Int>() {
class B : Function1<Int, Int> {
override fun invoke(p1 : Int) = p1
}