Some tests for override action has been added.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
open class Base<A, B, C>() {
|
||||
open val method : (A?) -> A = { it!! }
|
||||
open fun foo(value : B) : B = value
|
||||
open fun bar(value : () -> C) : (String) -> C = { value() }
|
||||
}
|
||||
|
||||
class C : Base<String, C, Unit>() {
|
||||
<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user