Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensures cached lambda has matching return type for UnboundLambda binding #14755
Cached lambdas were being used in situations where the return type was different. This forces building a new lambda body and binding for those cases.
Honestly I'm not 100% sure if this issue is the use of the cached value, or if the caching itself needs to be tweaked. This broke in commit 6c9e186 by @cston which touched quite a bit in this area so tracking down the precise issue might be beyond me.
This would resolve #14722
@enkafan Thanks for identifying the bug and for providing the fix!
It's likely we'll want to fix this in the