forked from JavaTX/JavaCompilerCore
Fix incorrect signature
This commit is contained in:
parent
337ff8b865
commit
8e5a20e59e
@ -95,9 +95,10 @@ public class FunNGenerator {
|
|||||||
boolean containsGeneric = false;
|
boolean containsGeneric = false;
|
||||||
|
|
||||||
String genericSignature = "<";
|
String genericSignature = "<";
|
||||||
for (var i = 0; i < start[0]; i++)
|
for (var i = 0; i < start[0]; i++) {
|
||||||
genericSignature += String.format("T%d:%s", i, objectSignature);
|
genericSignature += String.format("T%d:%s", i, objectSignature);
|
||||||
containsGeneric = true;
|
containsGeneric = true;
|
||||||
|
}
|
||||||
|
|
||||||
genericSignature += ">";
|
genericSignature += ">";
|
||||||
if (containsGeneric) funNClassSignature.insert(0, genericSignature);
|
if (containsGeneric) funNClassSignature.insert(0, genericSignature);
|
||||||
|
Loading…
Reference in New Issue
Block a user