Id.jav #144
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
class Id {
id2 = x -> x;
id(x) {
return x;
}
id3(x) {
return id(x);
}
}
sollte ergeben:
class Id<TBA$ extends TAZ$, TAZ$> {
Fun1$
<TBA
, TAZ$> id2;public Id();
public <OIV$ extends OJA$, OJA$> OJA$ id(OIV$);
public <OIY$ extends OIX$, OIX$> OIX$ id3(OIY$);
}
liefert
class Id <AAIT extends AAIU, AAIU> {
i <VQP extends VQU, VQU> d2 = x -> x;
id(VQP x) {
return x;
}
id3(VQS <VQS extends VQR, VQR> x) {
return id(x);
}
}
sollte aber
class Id<TBA$ extends TAZ$, TAZ$> {
Fun1$
<TBA
, TAZ$> id2;public Id();
public <OIV$ extends OJA$, OJA$> OJA$ id(OIV$);
public <OIY$ extends OIX$, OIX$> OIX$ id3(OIY$);
}
liefern
Einige Probleme wurden gelöst. Leider noch nicht ganz:
Beispiel:
class Id {
id2 = x -> x;
id(x) {
return x;
}
id3(x) {
return id(x);
}
}
class Id <BMXR extends BMXQ, BMXQ> {
id2 = x -> x;
id(x) {
return x;
}
}
}
class Id <BMXR extends BMXQ, BMXQ> {
id2 = x -> x;
id(x) {
return x;
}
}
}
Wir hatten gesagt, dass wenn Generics einmal hingeschrieben, dann wreden sie nicht ncohamls hingeschrieben.
Es gibt noch einige weitere Probleme, bitte ausführlich testen.
erledigt mit
Commit:
0861f74ce7
(JavaCompilerCore)Commit: b29d86e091955721b0e7fe0823880c24966fe933 (Plugin_JCC)