Skip to content

fix(pkg): substitute installed variable at solve time#13776

Merged
Alizter merged 1 commit intoocaml:mainfrom
Alizter:push-upnkkykwmrzt
Mar 12, 2026
Merged

fix(pkg): substitute installed variable at solve time#13776
Alizter merged 1 commit intoocaml:mainfrom
Alizter:push-upnkkykwmrzt

Conversation

@Alizter
Copy link
Copy Markdown
Collaborator

@Alizter Alizter commented Mar 11, 2026

When a package is absent from the solution, its 'installed' variable is known to have the value "false". We therefore substitute it at solve time.

Split off from #13466

@Alizter Alizter force-pushed the push-upnkkykwmrzt branch from ac42d19 to 2b36474 Compare March 11, 2026 13:42
@Alizter Alizter marked this pull request as ready for review March 11, 2026 13:44
@Alizter Alizter force-pushed the push-upnkkykwmrzt branch from 2b36474 to 86a0cd5 Compare March 11, 2026 13:47
Copy link
Copy Markdown
Collaborator

@Leonidas-from-XIV Leonidas-from-XIV left a comment

Choose a reason for hiding this comment

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

The code looks good and seems to be covered well in tests. I have some questions on clarification and suggestions to make it more understandable for future readers.

When a package is absent from the solution, its 'installed' variable is
known to have the value "false". We therefore substitute it at solve time.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter force-pushed the push-upnkkykwmrzt branch from 24149f5 to ada8ff0 Compare March 12, 2026 17:01
@Alizter Alizter dismissed Leonidas-from-XIV’s stale review March 12, 2026 17:26

dismissing so we can look at the next PR, further comments can be handled in follow up

@Alizter Alizter merged commit 8077a9d into ocaml:main Mar 12, 2026
29 checks passed
@Alizter Alizter deleted the push-upnkkykwmrzt branch March 12, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants