Skip to content

Revert "Fix index<T, any> and rawget<T, any> not resulting in any" - #2983

Merged
aatxe merged 1 commit into
masterfrom
revert-2697-index-with-any-fix
Sep 23, 2026
Merged

aatxe merged 1 commit into
masterfrom
revert-2697-index-with-any-fix

Conversation

@aatxe

@aatxe aatxe commented Sep 23, 2026

Copy link
Copy Markdown
Member

Reverts #2697

This change as-is is actually problematic, and I merged it too thoughtlessly. The implementation behaves surprisingly for anything where any is actually used as an indexer, e.g. index<{[any]: string}, any>. I'll implement a more thorough version of this change instead with the principal being that it should only reduce to any if there isn't some more specific that it can reduce to.

@aatxe
aatxe requested a review from a team as a code owner September 23, 2026 22:52
@aatxe
aatxe requested a review from vegorov-rbx September 23, 2026 22:52
@aatxe
aatxe merged commit ee2705d into master Sep 23, 2026
14 checks passed
@aatxe
aatxe deleted the revert-2697-index-with-any-fix branch September 23, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants