Typevariable doppelt deklariert #112

Open
opened 2023-07-05 11:35:35 +00:00 by pl · 0 comments
Owner

Folgende Klasse

public class KontraCovariant {

       m(x) {
       	    var y;
	    x = y;
	    return y;
	}
}

wird in

public class KontraCovariant {
  public KontraCovariant();
  public <N extends O, N, O> N m(O);
}

N ist doppelt deklariert.

Folgende Klasse ``` public class KontraCovariant { m(x) { var y; x = y; return y; } } ``` wird in ``` public class KontraCovariant { public KontraCovariant(); public <N extends O, N, O> N m(O); } ``` N ist doppelt deklariert.
dholle referenced this issue from a commit 2024-03-04 11:20:03 +00:00
dholle added the
generics
label 2024-03-04 11:21:20 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JavaTX/JavaCompilerCore#112
No description provided.