You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Niko had some ideas on friday for ways we might try to improve things here.
Some of them were integrated into more long-term cleanup of the type-inference code, such as moving to a cleaner model of constraint generation + solving. Others were, for lack of a better term, "hacks" that we might adopt in the short-term, such as attempting to unify the return types of call-expressions first (that is, before doing type inference for the argument expressions), and using the constraints garnered from that to inform the types inferred for the arguments.
pnkfelix
changed the title
type inference is weak on 2nd order closure within Option with late-bound lifetimes
type inference is weak on closure with late-bound lifetime within Option
Jun 23, 2014
pnkfelix
changed the title
type inference is weak on closure with late-bound lifetime within Option
weak type inference on closure with late-bound lifetime within Option
Jun 23, 2014
pnkfelix
changed the title
weak type inference on closure with late-bound lifetime within Option
weak type inference on late-bound lifetime within Option
Jun 23, 2014
Spawned off of #10846 and #15061 (comment)
Example code:
Transcript of results:
The text was updated successfully, but these errors were encountered: