Uh oh!
There was an error while loading. Please reload this page.
Fix33448 - #35513
Conversation
Anders Hejlsberg (ahejlsberg)
commented
Dec 5, 2019
TypeScript Bot (@typescript-bot) test this |
Heya Anders Hejlsberg (@ahejlsberg), I've started to run the parallelized Definitely Typed test suite on this PR at 6bc8b12. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya Anders Hejlsberg (@ahejlsberg), I've started to run the extended test suite on this PR at 6bc8b12. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya Anders Hejlsberg (@ahejlsberg), I've started to run the parallelized community code test suite on this PR at 6bc8b12. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya Anders Hejlsberg (@ahejlsberg), I've started to run the perf test suite on this PR at 6bc8b12. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
TypeScript Bot (typescript-bot)
commented
Dec 5, 2019
Anders Hejlsberg (@ahejlsberg) Here they are:Comparison Report - master..35513
System
Hosts
Scenarios
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TypeScript Bot (typescript-bot)
commented
Dec 5, 2019
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
Anders Hejlsberg (ahejlsberg)
commented
Dec 5, 2019
RWC and Community test errors look to be preexisting conditions. |
Wesley Wigham (weswigham)
commented
Dec 5, 2019
RWC is clean on master. Maybe try syncing the branch and running again? Otherwise the change is real. |
Anders Hejlsberg (ahejlsberg)
commented
Dec 7, 2019
Looked at it more closely. The RWC difference is just simple error message change because we now pick a different (and arguably better) union constituent to elaborate. |
| (<TransientSymbol>prop).isDiscriminantProperty = | ||
| ((<TransientSymbol>prop).checkFlags & CheckFlags.Discriminant) === CheckFlags.Discriminant && | ||
| isDiscriminantType(getTypeOfSymbol(prop)); | ||
| !maybeTypeOfKind(getTypeOfSymbol(prop), TypeFlags.Instantiable); |
There was a problem hiding this comment.
What's the justification for not maybe instantiables here? Previously it was "not generic indexes", so this is quite a bit broader an exclusion, if I'm not mistaken.
There was a problem hiding this comment.
If you look at isGenericIndexType you'll see that it's more than just generic index types. The code change just clarifies what's actually going on, there's no change in behavior.
There was a problem hiding this comment.
Huh, alright, so it's equivalent. Neat.
Fixes#33448. Also fixes the issue in #33498 (comment).
This PR supercedes #33498. (Thanks Jack Williams (@jack-williams)!)