use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"

This commit is contained in:
Dmitry Jemerov
2015-12-08 16:31:01 +01:00
parent 9a01c0d9cb
commit e97e82d119
44 changed files with 80 additions and 80 deletions
+1 -1
View File
@@ -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