Rename Extension annotation to ExtensionFunctionType

This commit is contained in:
Alexander Udalov
2015-11-25 19:29:20 +03:00
parent 0a47d1cac2
commit 460dad135c
35 changed files with 81 additions and 67 deletions
@@ -1,5 +1,5 @@
package somePackage
class ExcludedClass
// Such strange name here needed to make completion prefix not intersecting with kotlin.Extension
class ExctraClass
// Such strange name here needed to make completion prefix not intersecting with kotlin.ExtensionFunctionType
class ExctraClass
@@ -1,6 +1,6 @@
package somePackage;
// Such strange name here needed to make completion prefix not intersecting with kotlin.Extension
// Such strange name here needed to make completion prefix not intersecting with kotlin.ExtensionFunctionType
public class ExctraClass {
}
}
@@ -6,7 +6,7 @@ fun (() -> Unit)?.helloFun1() {
fun Function0<Unit>.helloFun2() {
}
fun @Extension Function1<String, Unit>.helloFun3() {
fun @ExtensionFunctionType Function1<String, Unit>.helloFun3() {
}
fun Function1<String, Unit>.helloFun4() {
@@ -6,10 +6,10 @@ fun (String.() -> Unit)?.helloFun1() {
fun Function0<Unit>.helloFun2() {
}
fun @Extension Function1<String, Unit>.helloFun3() {
fun @ExtensionFunctionType Function1<String, Unit>.helloFun3() {
}
fun @Extension Function1<Int, Unit>.helloFun4() {
fun @ExtensionFunctionType Function1<Int, Unit>.helloFun4() {
}
fun Function1<String, Unit>.helloFun5() {