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
Incorrectly inferred type never for variables with strictNullChecks #9322
Activity
aluanhaddad commentedon Jun 24, 2016
Working in 1.9.0-dev.20160624-1.0
RyanCavanaugh commentedon Jun 24, 2016
Failing for me as described in current master
aluanhaddad commentedon Jun 24, 2016
Ryan Cavanaugh (@RyanCavanaugh) I had misconfigured project. I can indeed reproduce the error. Sorry for the confusion.
ahejlsberg commentedon Jun 29, 2016
This is working as intended. The inferred type for
fooisnever[]because we don't widen types in--strictNullChecksmode. Full details in #8944.