Repository navigation
[TS] Dispatch Set constructors by their declared owner - #642
Draft
CaelmBleidd wants to merge 2 commits into
Draft
CaelmBleidd wants to merge 2 commits into
CaelmBleidd wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolve Set allocations and constructor calls by their actual IR owner. This lets the native collection model handle the default-library binding while preserving same-named local and imported classes. Legacy owner-less calls retain the existing native model only when there is no project Set namesake.
The frontend pin is JacoDB #456 at
6127cd5370ed42886ca49ab9addb62ed72dd1a57, which includes the Set binding from #451 and explicit boundaries for direct replacement, replacement through declaredglobalThisaliases, and known reflective mutations. The target is #633, which already selects the collection source models and its frontend dependency snapshot.Four source-level regressions and both Detekt tasks passed locally using the published artifact. The tests check native, local and imported bindings and require the three replacement cases to stop at the mutation. Node confirms the concrete result of each replaced constructor and restores the original binding between checks.