Skip to content
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

REVIEW: fix shadow class building for anonymous classes #3567

Merged
merged 6 commits into from
Sep 8, 2020

Conversation

monperrus
Copy link
Collaborator

Fix #3553
Fix #3563

@monperrus monperrus changed the title WIP: fix shadow class building for anonymous classes REVIEW: fix shadow class building for anonymous classes Sep 5, 2020
@@ -172,6 +172,11 @@ public boolean isClass() {

@Override
public boolean isAnonymous() {
// case 1: the java.lang.Class convention
if ("".equals(getSimpleName())) {
Copy link
Collaborator

@MartinWitt MartinWitt Sep 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would work also.

@monperrus
Copy link
Collaborator Author

@nharrand ready for merge

@nharrand
Copy link
Collaborator

nharrand commented Sep 8, 2020

Neat.

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