Skip to content

Stop hardcoding the SETTING::OUTER depth in SETTING-6e.t#887

Merged
ugexe merged 1 commit intomasterfrom
ugexe-patch-1
May 8, 2026
Merged

Stop hardcoding the SETTING::OUTER depth in SETTING-6e.t#887
ugexe merged 1 commit intomasterfrom
ugexe-patch-1

Conversation

@ugexe
Copy link
Copy Markdown
Contributor

@ugexe ugexe commented May 8, 2026

The original test baked in SETTING::OUTER::OUTER::OUTER::OUTER, which broke once the 6.e PseudoStash adjusted how far past the unit marker SETTING:: lands. Discover the depth at runtime and assert the lookup forms (top-level indirect, indirect inside EVAL, CALLER indirect) rather than a specific OUTER count.

Allows this test to pass against a RAKUDO_RAKUAST=1-built rakudo

The original test baked in SETTING::OUTER::OUTER::OUTER::OUTER, which
broke once the 6.e PseudoStash adjusted how far past the unit marker
SETTING:: lands. Discover the depth at runtime and assert the lookup
forms (top-level indirect, indirect inside EVAL, CALLER indirect)
rather than a specific OUTER count.
@ugexe ugexe merged commit a14a90c into master May 8, 2026
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.

1 participant