-
Notifications
You must be signed in to change notification settings - Fork 13k
Use const context in intersections containing const type variables #55779
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
Use const context in intersections containing const type variables #55779
Conversation
This feels almost too simple... I feel like I remember the original PR not doing this on purpose. @ahejlsberg @typescript-bot test top200 |
Heya @jakebailey, I've started to run the diff-based top-repos suite on this PR at cb06cde. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the diff-based user code test suite on this PR at cb06cde. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the tarball bundle task on this PR at cb06cde. You can monitor the build here. |
Heya @jakebailey, I've started to run the parallelized Definitely Typed test suite on this PR at cb06cde. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the regular perf test suite on this PR at cb06cde. You can monitor the build here. Update: The results are in! |
Hey @jakebailey, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
@jakebailey Here are the results of running the user test suite comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
@jakebailey Here they are:
CompilerComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
tsserverComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
StartupComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
Hey @jakebailey, it looks like the DT test run failed. Please check the log for more details. |
@jakebailey Here are the results of running the top-repos suite comparing Everything looks good! |
I can't recall anything, and this seems like a reasonable fix. So I'm good with it. |
I will note that perf/DT don't really have const type params, and they don't have high usage yet, so it's hard to say if we'll get any feedback for this within the PR now. Probably we should just merge it and then wait for someone to come up with a bad case. |
fixes #55778