LAMBDA
978
Lambda error: description
Either a hoisting error or a code restriction occurred within the body of the lambda function. A lambda function cannot contain any of the following:
- A field that is a member of group or a named record
- A field that overlays or is overlayed by another field
- A parameter that is BYREF, OUT, INOUT, or a parameter group
- A CALL, RETURN, or ONERROR statement
- An EXIT or GOTO to a label outside of the lambda function
- A YIELD statement
- An I/O error list
This error also occurs if a data division can’t be created in the generated method or if an inline lambda is used in the initial value for a non-local, non-class field.