Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Editorial: simplify early errors #44

Closed
wants to merge 1 commit into from

Conversation

jugglinmike
Copy link

Prior to this commit, the early errors for
ClassStaticInitializationBlock were not applied when nesting crossed
"function or static initialization block boundaries." In the latter
case (that is: nesting within a "static" initialization block), the rule
applies recursively, triggering the early error despite the exception.

Remove the exception to simplify the rule's definition.

Prior to this commit, the early errors for
ClassStaticInitializationBlock were not applied when nesting crossed
"function or `static` initialization block boundaries." In the latter
case (that is: nesting within a "static" initialization block), the rule
applies recursively, triggering the early error despite the exception.

Remove the exception to simplify the rule's definition.
@rbuckton
Copy link
Collaborator

rbuckton commented Jun 6, 2021

I think this should no longer be an issue as of #46. Please take a look and let me know if that PR works instead.

@rbuckton rbuckton closed this Jun 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants