Rename: NO_RECEIVER_ADMITTED -> NO_RECEIVER_ALLOWED
This commit is contained in:
@@ -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!>{}<!>()
|
||||
}
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user