Skip to content

🤖 Cherry-pick PR #34679 into release-3.7#34681

Merged
DanielRosenwasser merged 2 commits into
microsoft:release-3.7from
typescript-bot:pick/34679/release-3.7
Oct 23, 2019
Merged

🤖 Cherry-pick PR #34679 into release-3.7#34681
DanielRosenwasser merged 2 commits into
microsoft:release-3.7from
typescript-bot:pick/34679/release-3.7

Conversation

@typescript-bot
Copy link
Copy Markdown
Collaborator

This cherry-pick was triggerd by a request on #34679
Please review the diff and merge if no changes are unexpected. An LKG update commit is included seperately from the base change.
You can view the cherry-pick log here.

cc @DanielRosenwasser

weswigham and others added 2 commits October 23, 2019 19:03
Component commits:
e0b98c6 Do not consider element accesses which are neither statically bindable nor late bound as special assignments
Comment thread lib/typingsInstaller.js
return ts.isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node);
}
ts.isLiteralLikeAccess = isLiteralLikeAccess;
/** x[0] OR x['a'] OR x[Symbol.y] */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: It is kind of silly that this doesn't work for negative numbers, but nobody's asked for it so...

@DanielRosenwasser DanielRosenwasser merged commit 49dfb5f into microsoft:release-3.7 Oct 23, 2019
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants