Signaturen von Methoden und Klassen müssen betrachtet werden. #214
Labels
No Label
Codegen
confirmed
duplicate
Eclipse-Plugin
Feature Request
generics
in progress
invalid
JavaCompilerCore
needs info
Parser
Trash
Type
Unify
won't fix
works for me
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: JavaTX/JavaCompilerCore#214
Loading…
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?
In MethodAssumptions muss für
public <X, Y extends X> java.lang.Boolean eq(X, Y);
Y extends X gespeichert werden und in TypeStmt.visit(MethodCall methodCall)
zum Constraintset mit ersetzen fresh Typevariables hinzugefügt werden.
Gleiches gilt für Klassengenerics
Besipiel
In
class Pair<U, T> {
U a;
T b;
}
müsste
public <BFM, BFH extends BFM> java.lang.Boolean compare(Pair<BFH, BFM>);
herauskommen. Es kommt aber
public <BFM, BFH> java.lang.Boolean compare(Pair<BFH, BFM>);
heraus.