Skip to content

Fix containment of java::config #609

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexjfisher
Copy link

In 0dcd91b the anchor pattern was removed, but not replaced with anything and thus broke the containment of java::config. This restores the original behaviour by using contain.

As noted in the code comment, the declaration remains in the same place in the code as evaluation order is important. java::config is a private class and relies on variables from the base class's scope having been set before it is evaluated.

Also see #543 (comment)

In 0dcd91b the `anchor` pattern was
removed, but not replaced with anything and thus broke the containment
of `java::config`.  This restores the original behaviour by using
`contain`.

As noted in the code comment, the declaration remains in the same place
in the code as evaluation order is important.  `java::config` is a
private class and relies on variables from the base class's scope having
been set before it is evaluated.
@alexjfisher alexjfisher requested review from bastelfreak and a team as code owners April 9, 2025 13:30
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.

3 participants