-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Fix #33732 Consistent relation checking for property symbols with error reporting. #33828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@typescript-bot perf test this |
Heya @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 Here they are:Comparison Report - master..33828
System
Hosts
Scenarios
|
471ac3c
to
c6935b4
Compare
@typescript-bot test this |
Heya @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, 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 perf test this |
Heya @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 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 @arcanis. |
Do you know if the fix will reach master in time for the stable 3.7? |
ping'ing @RyanCavanaugh to answer that one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like the right fix to me, but I'd like @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 perf test this |
Heya @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 Here they are:Comparison Report - master..33828
System
Hosts
Scenarios
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @RyanCavanaugh for final merges and porting to desired branches
Thanks for the detailed write-up @weswigham! |
Hello :) |
6eff364
to
ae1e8d2
Compare
570f3d2
to
c691df9
Compare
@weswigham @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