Argumente mit Typvariabelen werden die Generics einschließlich Bounds immer bei den Argumenten eingefügt #147
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#147
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?
Beispiel
class Id {
id2 = x -> x;
id(x) {
return x;
}
id3(x) {
return id(x);
}
}
führt zu
class Id <AOLW extends AOLX, AOLX> {
id2 = x -> x;
id(x) {
return x;
}
id3( <AJMV extends AJMU, AJMU> AJMV x) {
return id(x);
}
}
Soltte aber führen zu:
class Id <AOLW extends AOLX, AOLX> {
id2 = x -> x;
id(x) {
return x;
}
AJMV extends AJMU, AJMU> id3( AJMV x) {
return id(x);
}
}
erledigt