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

inference: form PartialStruct for mutable objects with const field declaration #46117

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

aviatesk
Copy link
Sponsor Member

By exploiting the semantic constraint imposed by new const declaration
we can sometimes form PartialStruct for mutable objects (when there is
some information available to refine the type of const-declared field)
to allow extra type information propagation.

…d declaration

By exploiting the semantic constraint imposed by new `const` declaration
we can sometimes form `PartialStruct` for mutable objects (when there is
some information available to refine the type of `const`-declared field)
to allow extra type information propagation.
@aviatesk aviatesk merged commit 76d56ff into master Jul 20, 2022
@aviatesk aviatesk deleted the avi/mutablepartial branch July 20, 2022 23:08
ffucci pushed a commit to ffucci/julia that referenced this pull request Aug 11, 2022
…d declaration (JuliaLang#46117)

By exploiting the semantic constraint imposed by new `const` declaration
we can sometimes form `PartialStruct` for mutable objects (when there is
some information available to refine the type of `const`-declared field)
to allow extra type information propagation.
pcjentsch pushed a commit to pcjentsch/julia that referenced this pull request Aug 18, 2022
…d declaration (JuliaLang#46117)

By exploiting the semantic constraint imposed by new `const` declaration
we can sometimes form `PartialStruct` for mutable objects (when there is
some information available to refine the type of `const`-declared field)
to allow extra type information propagation.
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