fix Issue 9271 - Forwarding lambda predicate with type inference causes segfault
Merge pull request #2877 from 9rnsr/fix9271

Issue 9271 - Forwarding lambda predicate with type inference causes segfault