forked from JavaTX/JavaCompilerCore
Don't drop wildcards
This commit is contained in:
parent
4307371dee
commit
be1c356a9f
@ -8,7 +8,7 @@ public record TargetExtendsWildcard(TargetType innerType) implements TargetType
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toGenericSignature() {
|
public String toGenericSignature() {
|
||||||
return innerType.toGenericSignature();
|
return "+" + innerType.toGenericSignature();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -8,7 +8,7 @@ public record TargetSuperWildcard(TargetType innerType) implements TargetType {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toGenericSignature() {
|
public String toGenericSignature() {
|
||||||
return innerType.toGenericSignature();
|
return "-" + innerType.toGenericSignature();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user