fixing lambda substitution for multi-level inheritance
Merge pull request #166 from scanham/bug/lambda_inheritance

Lambdas in multi level inheritance