-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Always use nonFixingMapper
in instantiateSignatureInContextOf
#60557
base: main
Are you sure you want to change the base?
Always use nonFixingMapper
in instantiateSignatureInContextOf
#60557
Conversation
I do like running tests @typescript-bot test it |
Hey @jakebailey, the results of running the DT tests are ready. Everything looks the same! |
@jakebailey Here are some more interesting changes from running the user tests suite Details
|
@jakebailey Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
@jakebailey Here are the results of running the top 400 repos with tsc comparing Something interesting changed - please have a look. Details
|
Redux-based repro from the reports above: TS playground. Interestingly, it actually fails to be inferred with current version and it does infer with this change... but then it fails to typecheck. The current version works because it tries out the last
|
fixes #60552
I'm not exactly sure if this is right but the presented issue shows how the current logic can lead to surprising results. The existing test cases are fairly OK with this change, it would be great to run the extended test suite to learn what kind of unwanted effects this change might have (cc @jakebailey )