Skip to content

Fix renaming an ExportSpecifier name when propertyName is present - #36790

Merged
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:masterfrom
andrewbranch:bug/36695
Feb 14, 2020
Merged

Fix renaming an ExportSpecifier name when propertyName is present#36790
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:masterfrom
andrewbranch:bug/36695

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Fixes #36695, which I suspect was a regression from #36490

Comment thread tests/cases/fourslash/renameExportSpecifier.ts
@andrewbranch

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) cherry-pick this to release-3.8, or are you still on vacation?

@typescript-bot

Copy link
Copy Markdown
Contributor

Heya Andrew Branch (@andrewbranch), I couldn't find the branch 'release-3.8,' on Microsoft/TypeScript. You may need to make it and try again.

@andrewbranch
Andrew Branch (andrewbranch) merged commit 950b361 into microsoft:master Feb 14, 2020
Andrew Branch (andrewbranch) added a commit to andrewbranch/TypeScript that referenced this pull request Feb 14, 2020
…crosoft#36790)

* Fix renaming exportSpecifier name when propertyName is present

* Add baseline test for name without propertyName too
Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Feb 14, 2020
* Fix renaming an ExportSpecifier name when propertyName is present (#36790)

* Fix renaming exportSpecifier name when propertyName is present

* Add baseline test for name without propertyName too

* Set correct pos for NamespaceExport (#36794)

* Set correct pos for NamespaceExport

* Update tests
Andrew Branch (andrewbranch) added a commit that referenced this pull request Feb 28, 2020
* Fix renaming an ExportSpecifier name when propertyName is present (#36790)

* Fix renaming exportSpecifier name when propertyName is present

* Add baseline test for name without propertyName too

* Set correct pos for NamespaceExport (#36794)

* Set correct pos for NamespaceExport

* Update tests

* Cherry-pick PR #37064 into release-3.8
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Renaming alias in export specifier no longer works in 3.8 RC when name equals propertyName

3 participants