Fix #33732 Consistent relation checking for property symbols with error reporting. - #33828
Fix #33732 Consistent relation checking for property symbols with error reporting.#33828Jack Williams (jack-williams) wants to merge 3 commits into
Conversation
|
TypeScript Bot (@typescript-bot) perf test this |
|
Heya Jack Williams (@jack-williams), I've started to run the perf test suite on this PR at 471ac3c. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
|
Jack Williams (@jack-williams) Here they are:Comparison Report - master..33828
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
471ac3c to
c6935b4
Compare
|
TypeScript Bot (@typescript-bot) test this |
|
Heya Jack Williams (@jack-williams), I've started to run the extended test suite on this PR at c6935b4. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya Jack Williams (@jack-williams), I've started to run the parallelized community code test suite on this PR at c6935b4. You can monitor the build here. It should now contribute to this PR's status checks. |
|
TypeScript Bot (@typescript-bot) perf test this |
|
Heya Jack Williams (@jack-williams), I've started to run the perf test suite on this PR at c6935b4. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
|
Jack Williams (@jack-williams) Here they are:Comparison Report - master..33828
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Community tests failures are noise. |
|
Fwiw our codebase also exhibits this problem, and I can confirm this commit fixes it. |
|
Thanks for trying it out Maël Nison (@arcanis). |
|
Do you know if the fix will reach master in time for the stable 3.7? |
ping'ing Ryan Cavanaugh (@RyanCavanaugh) to answer that one |
Nathan Shively-Sanders (sandersn)
left a comment
There was a problem hiding this comment.
This seems like the right fix to me, but I'd like Wesley Wigham (@weswigham) to look too, since he wrote this code.
My opinion is that this is too risky for 3.7.2 with less than a week to go. Wesley, do you agree? If so, let's put this in 3.8.
So while this works it's certainly not what I'd like to see, if at all possible. Specifically, deleting the If anything, I think, since we added the union coverage union assignment rule that requires the fallback (as extracting that to here is probably a bit hairy), I think a more succinct change may just be - if (unionParent && !result && reportErrors) {
+ if (unionParent && !result && source.flags & TypeFlags.Union) {assuming I've understood the original scenario well enough. |
|
TypeScript Bot (@typescript-bot) perf test this |
|
Heya Jack Williams (@jack-williams), I've started to run the perf test suite on this PR at c6c1e95. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
|
Jack Williams (@jack-williams) Here they are:Comparison Report - master..33828
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Wesley Wigham (weswigham)
left a comment
There was a problem hiding this comment.
cc Ryan Cavanaugh (@RyanCavanaugh) for final merges and porting to desired branches
|
Thanks for the detailed write-up Wesley Wigham (@weswigham)! |
|
Hello :) |
6eff364 to
ae1e8d2
Compare
570f3d2 to
c691df9
Compare
|
Wesley Wigham (@weswigham) Ryan Cavanaugh (@RyanCavanaugh) I got the commit history in abit of a pickle so I opened up a new PR with a clean commit here: #36077. |
Fixes #33732