Pass all lambda params through the syntax rather than build them in codegen.

[#57443904]
Self-review