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
{{ message }}
Repository navigation
es-get-iterator broken by IIFE now allowing contextual return type #45559
This is an inconsistency in our iterator checking; with no contextual type, the hard-coded TNext default is unknown; with a defective, next-free contextual type, the hard-coded default is any instead.
We should maybe consider fixing this, but only if it doesn't break anybody, or if anybody thinks the current state is bad enough.
In any case, I think this change is fine to ship as-is.
Activity
sandersn commentedon Aug 24, 2021
Daniel Rosenwasser (@DanielRosenwasser) you probably want to know about this too.
sandersn commentedon Oct 5, 2021
Smaller repro:
sandersn commentedon Oct 6, 2021
This is an inconsistency in our iterator checking; with no contextual type, the hard-coded TNext default is
unknown; with a defective,next-free contextual type, the hard-coded default isanyinstead.We should maybe consider fixing this, but only if it doesn't break anybody, or if anybody thinks the current state is bad enough.
In any case, I think this change is fine to ship as-is.