mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:40:10 +01:00
This also fixes passing a value expression to a forwarding reference, since we currently deduce a `const T&&` parameter in that case. We were accidentally looking at the type of the thunk parameter (which is never an rvalue reference) rather than the type of the callee parameter.