Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment inlining bug #1547

Open
yuvalsimon opened this issue Jun 26, 2017 · 0 comments
Open

Assignment inlining bug #1547

yuvalsimon opened this issue Jun 26, 2017 · 0 comments
Assignees
Labels

Comments

@yuvalsimon
Copy link
Collaborator

With the tipper AssignmentAndAssignmentOfSameValue:

class Element extends AccessibleObject implements Member {
  private final AccessibleObject accessibleObject;
  private final Member member;
  <M extends AccessibleObject & Member> Element(M member) {
    checkNotNull(member);
    this.member = this.accessibleObject = member;
  }
...

goes to

class Element extends AccessibleObject implements Member {

  private final AccessibleObject accessibleObject;
  private final Member member;

  <M extends AccessibleObject & Member> Element(M member) {
    checkNotNull(member);
    this.accessibleObject = member;
    this.member = member;
  }
...

Gives type mismatch error
I suppose its a wontfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants