mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 22:14:53 +00:00
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:
1 parent
2547ee7b97
commit
76f50ccf2e
1 file changed
+4
-1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user