Rename: NO_RECEIVER_ADMITTED -> NO_RECEIVER_ALLOWED

This commit is contained in:
Svetlana Isakova
2014-10-03 14:32:38 +04:00
parent cd3dc5998f
commit c0eb894bd9
5 changed files with 5 additions and 5 deletions
@@ -78,5 +78,5 @@ fun test() {
i<!UNSAFE_CALL!>.<!>{Int.() -> 1}();
{}<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!><Int><!>()
1<!UNNECESSARY_SAFE_CALL!>?.<!>{Int.() -> 1}()
1.<!NO_RECEIVER_ADMITTED!>{}<!>()
1.<!NO_RECEIVER_ALLOWED!>{}<!>()
}
@@ -7,5 +7,5 @@ fun test1(f: String.() -> Unit) {
fun test2(f: (Int) -> Int) {
1.<!UNRESOLVED_REFERENCE!>f<!>(2)
2.<!NO_RECEIVER_ADMITTED!>(f)<!>(2)
2.<!NO_RECEIVER_ALLOWED!>(f)<!>(2)
}