Issue #125

Throw an error if invalid lambda parameters are found in a function definition.