-
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
Preserve alias symbols on references to type aliases via imports #51152
Preserve alias symbols on references to type aliases via imports #51152
Conversation
@typescript-bot perf test this |
Heya @weswigham, I've started to run the perf test suite on this PR at aa26036. You can monitor the build here. Update: The results are in! |
@weswigham Here they are:
CompilerComparison Report - main..51152
System
Hosts
Scenarios
TSServerComparison Report - main..51152
System
Hosts
Scenarios
Developer Information: |
Perf looks good (sometimes unreasonably so - looking at you TFS), so this looks like a pretty good approach to the problem. @typescript-bot test top100 |
Heya @weswigham, I've started to run the diff-based top-repos suite on this PR at bcdac1a. You can monitor the build here. Update: The results are in! |
Heya @weswigham, I've started to run the extended test suite on this PR at bcdac1a. You can monitor the build here. |
Heya @weswigham, I've started to run the diff-based user code test suite on this PR at bcdac1a. You can monitor the build here. Update: The results are in! |
@weswigham Here are the results of running the user test suite comparing Everything looks good! |
@weswigham Here are the results of running the top-repos suite comparing Something interesting changed - please have a look. Details
|
@typescript-bot run dt |
Looks good; I started a DT run because something that increases the number of type identities sometimes fails there. |
@typescript-bot run dt |
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at ce91909. You can monitor the build here. |
Breaks 2 DT packages (lambda-tester, mparticle__web-sdk), in a way I can't understand yet. I'll open a bug. |
Fixes #51106
Technically, we could always use the alias we're referring to as the alias symbol saved for an alias lookup, but that could be a lot of new type identities, and by limiting it to only cases where the type reference refers to an import alias, we capture the cases where referring to exactly the symbol exported is particularly important for reusing the imports/names the user has made available.