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
Inferred type symbol in conditional type should be visible-but-banned in falsy arm #22610
Why keep U in scope in the falsy case at all? Why not allow the use of the outer U? Just for readability/least-surprise concerns? I can buy that but I'm wondering if I'm missing something more.
Activity
RyanCavanaugh commentedon Mar 15, 2018
cc Anders Hejlsberg (@ahejlsberg) Daniel Rosenwasser (@DanielRosenwasser) since we should 👍 / 👎 before release
krryan commentedon Mar 15, 2018
Why keep
Uin scope in the falsy case at all? Why not allow the use of the outerU? Just for readability/least-surprise concerns? I can buy that but I'm wondering if I'm missing something more.RyanCavanaugh commentedon Aug 13, 2018
This one missed the boat