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
Exhaustive switch return type does not work when wrapped in a try-catch. #32905
Activity
RyanCavanaugh commentedon Aug 16, 2019
All of the function-always-returning-from-exhaustive-switch forms are special-cased; this one seems like a good additional special case
jack-williams commentedon Aug 17, 2019
Fix here: #32952.
jack-williams commentedon Sep 25, 2019
Anders Hejlsberg (@ahejlsberg) fixed this in #32695.
trusktr commentedon Dec 6, 2019
Looks like fixed, tested in playground. Thanks!