Fixes issue #49. Credit goes entirely to Michael McCallum who found the problem, found the place in the source where the problem occurred, and even wrote a patch.

This commit is contained in:
Reinier Zwitserloot committed 2009-09-21 03:47:09 +02:00
1 parent 2547ee7b97
commit 76f50ccf2e
1 file changed
+4 -1
+4 -1
View File
@@ -243,7 +243,10 @@ public class Eclipse {
}
if ( ref instanceof Wildcard ) {
return new Wildcard(((Wildcard)ref).kind);
Wildcard wildcard = new Wildcard(((Wildcard)ref).kind);
wildcard.sourceStart = ref.sourceStart;
wildcard.sourceEnd = ref.sourceEnd;
return wildcard;
}
if ( ref instanceof SingleTypeReference ) {