Fixes #944. Previously cast result types were labeled with the default label, which have no OriginParams. This PR mimics the behavior of labeling cast results in the special case that the cast was from a null const type, where we relabled the expected_ty with fresh origins.
Fixes #944. Previously cast result types were labeled with the default label, which have no
OriginParams
. This PR mimics the behavior of labeling cast results in the special case that the cast was from a null const type, where we relabled theexpected_ty
with fresh origins.