-
-
Notifications
You must be signed in to change notification settings - Fork 352
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: bug related with TypeReference generics in noclasspath #1609
Conversation
return this.jdtTreeBuilder.getFactory().Type().createReference(CharOperation.toString(ref.getParameterizedTypeName())); | ||
CtTypeReference result = this.jdtTreeBuilder.getFactory().Type().createReference(res.getQualifiedName()); | ||
result.setActualTypeArguments(res.getActualTypeArguments()); | ||
return result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your patch is invalid, it brokes my test (and my test is good)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the bug is in getQualifiedName of jdt in my testcase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your patch is invalid, it brokes my test (and my test is good)
Yeah, I saw that. Still working on it, I come back to you when tests are passing, I was a bit too confident on the first trial ;)
|
||
@Test | ||
public void testTypeReferenceWithGenerics() throws Exception { | ||
final Launcher launcher = new Launcher(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contract
|
||
@Test | ||
public void testImportWithGenerics() throws IOException { | ||
final Launcher launcher = new Launcher(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contract line:
Ready to merge @monperrus |
No description provided.