KT-2069 Cannot call super method when superclass has type parameters
#KT-2069 fixed
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//KT-2069 Cannot call super method when superclass has type parameters
|
||||
package kt2069
|
||||
|
||||
trait T1 {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
class T : T1 {
|
||||
fun bar() {
|
||||
super<T1>.foo()
|
||||
}
|
||||
|
||||
class object {}
|
||||
}
|
||||
Reference in New Issue
Block a user