Falsche Varianz #217
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#217
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:
import java.util.Vector;
public class TestVector {
}
class TestVector {
TestVector()({
super(());
})::TPH AP
TPH N m(TPH O v, TPH P w)({
TPH Q a;
(a)::TPH Q = ((v)::TPH O.elementAt Signature: TPH S, TPH T)::TPH U;
TPH W b;
(b)::TPH W = ((this)::TPH X.id Signature: [TPH Y, TPH Z]((a)::TPH Q))::TPH AA;
((w)::TPH P.addElement Signature: [TPH AC, TPH AD]((b)::TPH W))::TPH AE;
return;
})::TPH AG
TPH AH id(TPH AI x)({
return (x)::TPH AI;
})::TPH AJ
TestVector()({
super(());
})::TPH AM
}
Constraints: [(AI < AH), (W < ADA), (ACZ < U), (U < Q), (AH < AA), (AA < W), (Q < AI)]
Der Fehler tritt nur auf, wenn der Test alleine ausgeführt wird.
Die Varianzen sind:
[ACZ, U, Q, AA, W, ADA]
[ 1, 1, 1, -1, -1, 1]
ADA müsste eigentlich -1 bekommen.
*** Bug 256 has been marked as a duplicate of this bug. ***
*** Bug 257 has been marked as a duplicate of this bug. ***