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

bug in anonymous class handling (name + actualClass) #115

Closed
monperrus opened this issue Dec 4, 2014 · 2 comments
Closed

bug in anonymous class handling (name + actualClass) #115

monperrus opened this issue Dec 4, 2014 · 2 comments

Comments

@monperrus
Copy link
Collaborator

see test of https://github.com/monperrus/spoon/compare/bug-anon-class

@GerardPaligot
Copy link
Contributor

I checked your bug in local and I didn't find a bug with actual class in anonymous classes.

In your test, you have test class AnonymousClass in the package spoon.test.secondaryclasses. So, anonymous classes in this AnonymousClass class must to start with spoon.test.secondaryclasses.AnonymousClass$ and not spoon.test.model.AnonymousExecutableClass$ like in your test case.

For the bug with the name of an anonymous class, I don't know why you would like to name them. An anonymous class must to know when it is anonymous or not and not know his name because it doesn't have one by definition.

@GerardPaligot
Copy link
Contributor

This issue is resolve with this PR #121 ? If yes, we can close it.

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

No branches or pull requests

3 participants