Skip to content

refactor(engine): hide alias expansion ordering - #16527

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-lwrtwvywzxok
Oct 4, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-lwrtwvywzxok

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Make Rules.Dir_rules.Alias_spec abstract, exposing singleton construction and list conversion instead of its Appendable_list representation. Keep the reversal inside Alias_spec so Load_rules no longer needs to know how expansions accumulate. Existing expansion order and behavior are preserved.

Make Rules.Dir_rules.Alias_spec abstract and expose only singleton construction
and ordered consumption. Load_rules no longer knows that expansions accumulate
in reverse through Appendable_list.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit 05a869d into ocaml:main Oct 4, 2026
36 of 38 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Oct 4, 2026
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.

2 participants