TPHsAndGenerics #76
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#76
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?
Created attachment 19
Das erwartete Ergebnis
fogg.allConstraints: [AB < AM, AD < AI, DZP < ETW, V < UD, UD < DZP, AI < AE]
fogg.posOfTPHs: {AB=[PairTphMethod[METHOD,TPH ABm(TPH ABTPH AD)]], AD=[PairTphMethod[METHOD,TPH ABm(TPH ABTPH AD)]], AE=[PairTphMethod[METHOD,TPH ABm(TPH ABTPH AD)]], V=[PairTphMethod[METHOD,TPH ETWid2(TPH V)]], AI=[PairTphMethod[METHOD,TPH ABm(TPH ABTPH AD)], PairTphMethod[METHOD,TPH AIm2(TPH AMTPH AI)]], ETW=[PairTphMethod[FIELD,null]], AM=[PairTphMethod[METHOD,TPH AIm2(TPH AMTPH AI)]], UD=[PairTphMethod[FIELD,null]]}
fogg.classConstraints: [UD < DZP, DZP < ETW, ETW < java/lang/Object]
fogg.methodConstraintsWithPosition:
{TPH ABm(TPH ABTPH AD)=[AB < AM, AD < AI, AI < AE, AE < java/lang/Object, AM < java/lang/Object],
TPH ETWid2(TPH V)=[V < UD],
TPH AIm2(TPH AMTPH AI)=[AI < AE, AM < java/lang/Object, AE < java/lang/Object]}
TPH AIm2(TPH AMTPH AI)=[AI < AE, AM < java/lang/Object, AE < java/lang/Object]
ist nicht korrekt. Die Lösung ist AI < AE muss rausfallen. Dementsprechend wäre die Lösung dann [AI < java/lang/Object, AM < java/lang/Object]
fogg.classConstraints: [U < java/lang/Object, ETW < DZP, ETW < java/lang/Object, DZP < U]
ETW < java/lang/Object stimmt nicht
fogg.methodConstraintsWithPosition: {
TPH Uid2(TPH V)=[U = U, V < ETW, U = U],
ok
TPH ABm(TPH ABTPH AD)=[AI < AE, AB = AB, AB < AM, AD < AI, AI = AI],
ok, aber (AM < Object) und (AI < Object) fehlt
TPH AIm2(TPH AMTPH AI)=[AI = AI]}
(AI < Object) und AM < Object fehlt
fogg.classConstraints: [U < java/lang/Object, ETW < DZP, ETW < java/lang/Object, DZP < U]
ETW < java/lang/Object stimmt nicht
fogg.methodConstraintsWithPosition: {
TPH Uid2(TPH V)=[U = U, V < ETW, U = U],
ok
TPH ABm(TPH ABTPH AD)=[AI < AE, AB = AB, AB < AM, AD < AI, AI = AI],
ok, aber (AM < Object) und (AI < Object) fehlt
Hier hätte ich noch AI < AI erwartet
TPH AIm2(TPH AMTPH AI)=[AI = AI]}
(AI < Object) und AM < Object fehlt