Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate public visibility through all types #7105

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

tlively
Copy link
Member

@tlively tlively commented Nov 22, 2024

Previously the classification of public types propagated public
visibility only through types that had previously been collected by
collectHeapTypes. Since there are settings that cause
collectHeapTypes to collect fewer types, it was possible for public
types to be missed if they were only public because they were reached by
an uncollected types.

Ensure that all public heap types are properly classified by propagating
public visibility even through types that are not part of the collected
output.

Fixes #7103.

Previously the classification of public types propagated public
visibility only through types that had previously been collected by
`collectHeapTypes`. Since there are settings that cause
`collectHeapTypes` to collect fewer types, it was possible for public
types to be missed if they were only public because they were reached by
an uncollected types.

Ensure that all public heap types are properly classified by propagating
public visibility even through types that are not part of the collected
output.

Fixes #7103.
@tlively tlively requested a review from kripken November 22, 2024 01:43
@tlively tlively merged commit 4bf9fca into main Nov 22, 2024
13 checks passed
@tlively tlively deleted the propagate-public-fix branch November 22, 2024 03:49
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.

Public type mismatch between collectHeapTypeInfo and getPublicHeapTypes
2 participants