Fix incorrect signature

This commit is contained in:
Daniel Holle 2023-05-31 11:38:47 +02:00
parent 337ff8b865
commit 8e5a20e59e

View File

@ -95,9 +95,10 @@ public class FunNGenerator {
boolean containsGeneric = false;
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);
containsGeneric = true;
containsGeneric = true;
}
genericSignature += ">";
if (containsGeneric) funNClassSignature.insert(0, genericSignature);