Revert "Rename Extension annotation to ExtensionFunctionType"

This reverts commit 460dad135c.

The old compiler will not see the new runtime correctly. Postponing this until
1.0
This commit is contained in:
Alexander Udalov
2015-11-30 19:23:13 +03:00
parent 745809c666
commit 877129340f
35 changed files with 66 additions and 81 deletions
@@ -1,5 +1,5 @@
package somePackage
class ExcludedClass
// Such strange name here needed to make completion prefix not intersecting with kotlin.ExtensionFunctionType
class ExctraClass
// Such strange name here needed to make completion prefix not intersecting with kotlin.Extension
class ExctraClass
@@ -1,6 +1,6 @@
package somePackage;
// Such strange name here needed to make completion prefix not intersecting with kotlin.ExtensionFunctionType
// Such strange name here needed to make completion prefix not intersecting with kotlin.Extension
public class ExctraClass {
}
}
@@ -6,7 +6,7 @@ fun (() -> Unit)?.helloFun1() {
fun Function0<Unit>.helloFun2() {
}
fun @ExtensionFunctionType Function1<String, Unit>.helloFun3() {
fun @Extension Function1<String, Unit>.helloFun3() {
}
fun Function1<String, Unit>.helloFun4() {
@@ -6,10 +6,10 @@ fun (String.() -> Unit)?.helloFun1() {
fun Function0<Unit>.helloFun2() {
}
fun @ExtensionFunctionType Function1<String, Unit>.helloFun3() {
fun @Extension Function1<String, Unit>.helloFun3() {
}
fun @ExtensionFunctionType Function1<Int, Unit>.helloFun4() {
fun @Extension Function1<Int, Unit>.helloFun4() {
}
fun Function1<String, Unit>.helloFun5() {