Fixing super in a package-level function
This commit is contained in:
@@ -56,8 +56,8 @@ class A<E>() : C(), T {
|
||||
|
||||
fun foo() {
|
||||
<!SUPER_IS_NOT_AN_EXPRESSION!>super<!>
|
||||
super.foo()
|
||||
super<Nothing>.foo()
|
||||
<!SUPER_NOT_AVAILABLE!>super<!>.foo()
|
||||
<!SUPER_NOT_AVAILABLE!>super<Nothing><!>.foo()
|
||||
}
|
||||
|
||||
trait G<T> {
|
||||
|
||||
Reference in New Issue
Block a user