Freie Typevars werden hinter Return-Typ eingetragen #181
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: JavaTX/JavaCompilerCore#181
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?
Bei folgendem Programm
import java.util.Vector;
class Vector_Add {
}
wird im Eclipse-Plugin nach der Typ-Inferenz zu:
class Vector_Add {
java.lang.Integer vector_add(java.util.Vector x,y) {
i;
i = 0;
ret;
ret = 0;
while (i < x.size()) {
}
return ret;
}
}
gehört aber vor java.lang.Integer.
OLD BUG