Member 'invoke' of function class should be abstract
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package extendFunctionClass
|
||||
|
||||
class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>A<!> : (Int) -> Int {
|
||||
|
||||
}
|
||||
|
||||
class B : Function1<Int, Int> {
|
||||
override fun invoke(p0 : Int) = p0
|
||||
}
|
||||
Reference in New Issue
Block a user