Skip to content

Fix unintended 'as const' name lookup error - #44311

Merged
Anders Hejlsberg (ahejlsberg) merged 2 commits into
masterfrom
fix44292
May 28, 2021
Merged

Anders Hejlsberg (ahejlsberg) merged 2 commits into
masterfrom
fix44292

Conversation

@ahejlsberg

Copy link
Copy Markdown
Member

Fixes #44292.

@DanielRosenwasser

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-4.3

@typescript-bot

TypeScript Bot (typescript-bot) commented Jun 1, 2021 •

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the task to cherry-pick this into release-4.3 on this PR at e607388. You can monitor the build here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Daniel Rosenwasser (@DanielRosenwasser), I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-4.3 manually.

Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Jun 1, 2021
* Fix logic for methods in isTypeParameterPossiblyReferenced

* Add regression tests
Daniel Rosenwasser (DanielRosenwasser) added a commit that referenced this pull request Jun 1, 2021
* Fix logic for methods in isTypeParameterPossiblyReferenced

* Add regression tests

Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
@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.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4.3: as const looking for the identifier const in a generic class

4 participants