Properly reporting illegal use of 'super' in extension functions

This commit is contained in:
Andrey Breslav
2012-11-01 19:31:39 +04:00
parent 20906e34ce
commit a325d86e20
3 changed files with 22 additions and 3 deletions
@@ -0,0 +1,4 @@
fun String.f() {
<!SUPER_NOT_AVAILABLE!>super@f<!>.compareTo("")
<!SUPER_NOT_AVAILABLE!>super<!>.compareTo("")
}