Skip to content

Revert "Avoid scanning anonymous classes (#3150)"#3158

Merged
mpkorstanje merged 3 commits intomainfrom
revert-avoid-scanning-anonymous-classes
Jan 29, 2026
Merged

Revert "Avoid scanning anonymous classes (#3150)"#3158
mpkorstanje merged 3 commits intomainfrom
revert-avoid-scanning-anonymous-classes

Conversation

@mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Jan 28, 2026

⚡️ What's your motivation?

This reverts commit 3f27ff4 from #3150 which broke Cucumber Scala which can implicitly define anonymous classes. They're an error, but still an error that should be detected. See for details cucumber/cucumber-jvm-scala#425.

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@mpkorstanje mpkorstanje merged commit 3f97272 into main Jan 29, 2026
6 checks passed
@mpkorstanje mpkorstanje deleted the revert-avoid-scanning-anonymous-classes branch January 29, 2026 14:18
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