use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
This commit is contained in:
@@ -2,7 +2,7 @@ fun x(): Boolean { return true }
|
||||
|
||||
public fun foo(p: String?): Int {
|
||||
// Exotic variant with unused literal
|
||||
do <!UNUSED_FUNCTION_LITERAL!>{ ->
|
||||
do <!UNUSED_LAMBDA_EXPRESSION!>{ ->
|
||||
p!!.length
|
||||
}<!> while (!x())
|
||||
// Literal is not called so p.length is unsafe
|
||||
|
||||
Reference in New Issue
Block a user