Fixing super in a package-level function

This commit is contained in:
Andrey Breslav
2012-11-01 18:12:47 +04:00
parent ce9c302fe1
commit a0cd26960a
3 changed files with 166 additions and 99 deletions
+2 -2
View File
@@ -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> {