use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun nonlocals(b : Boolean) {
|
||||
a@<!UNUSED_FUNCTION_LITERAL!>{
|
||||
a@<!UNUSED_LAMBDA_EXPRESSION!>{
|
||||
fun foo() {
|
||||
if (b) {
|
||||
<!RETURN_NOT_ALLOWED!>return@a 1<!> // The label must be resolved, but an error should be reported for a non-local return
|
||||
|
||||
Reference in New Issue
Block a user