Id angwandt funktioniert nicht #46

Closed
opened 2019-05-06 23:52:51 +00:00 by pl · 2 comments
Owner

class Id {
id2 = x -> x;

id3 (x) {
return id2.apply(x)
}

liefert

class Id<UNO$ extends QMC$, UNP$ extends QMC$, QMC$> {
Fun1$<UNP, UNO$> id2;
public Id();
public <QMD$> QMC$ id3(QMD$);
}

Müsste aber

class Id<UNO$ extends QMC$, UNP$ extends !!! UNO$ !!!, QMC$> {
Fun1$<UNP, UNO$> id2;
public Id();
public <QMD$> QMC$ id3(QMD$);
}

liefern.

class Id { id2 = x -> x; id3 (x) { return id2.apply(x) } liefert class Id<UNO$ extends QMC$, UNP$ extends QMC$, QMC$> { Fun1$$<UNP$, UNO$> id2; public Id(); public <QMD$> QMC$ id3(QMD$); } Müsste aber class Id<UNO$ extends QMC$, UNP$ extends !!! UNO$ !!!, QMC$> { Fun1$$<UNP$, UNO$> id2; public Id(); public <QMD$> QMC$ id3(QMD$); } liefern.

Gefixt.

Branch bytecode2
commit a41e9804a0

Gefixt. Branch bytecode2 commit a41e9804a07db07f13ecee5c4c1908c4235a6d70
Author
Owner

bestätigt

bestätigt
Sign in to join this conversation.
No Milestone
No project
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JavaTX/JavaCompilerCore#46
No description provided.