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
In fact, finding a break of type checking such as #32248 (yield wrongly returns any type.) is impossible when we can't directly check a type of yield. When yield argument type is any, we can't know it. When yield return type is any, we can't know it without seeing an inferred type via a variable.
Activity
sandersn commentedon Jul 9, 2019
Good idea, although I don't think we produce yield's type when checking, although this might have recently changed.
falsandtru commentedon Jul 9, 2019
In fact, finding a break of type checking such as #32248 (yield wrongly returns any type.) is impossible when we can't directly check a type of yield. When yield argument type is any, we can't know it. When yield return type is any, we can't know it without seeing an inferred type via a variable.
falsandtru commentedon Jul 19, 2019
Nathan Shively-Sanders (@sandersn) Ron Buckton (@rbuckton) I recommend you to release this feature with the next release to make complete user experience of enhanced generators.
Kingwl commentedon Jul 30, 2019
What is the expected display?
Similar to NewKeyword? or something like
(TNext) yield (T)falsandtru commentedon Jul 30, 2019
I expect it.
Kingwl commentedon Aug 12, 2019
Expect which one🤦🏻♂️
falsandtru commentedon Aug 12, 2019
Ah, I meant
(TNext) yield (T).Kingwl commentedon Aug 12, 2019
Daniel Rosenwasser (@DanielRosenwasser) Any suggestions?🙋🏻♂️
DanielRosenwasser commentedon Mar 22, 2024
Similar to #11261 which is about quick info on
return.