Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

No description provided.

Copy link
Contributor

@DarkDimius DarkDimius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM, with two minor preferences:

  • I'd propose to make a huge note inside erasure that Mixin inserts erasure-like forwarders
  • I'd prefer to extract this to it's own phase. The motivation comes from Valhalla. When\If it happens, we'll need to move mixin before erasure and than this code will need to be rewritten as it will instead change super-class.

}
}

class Foo extends Bar[Boolean](true) with Baz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a test with a value class, also it would be nice to check that the method called would be the unboxed one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in mixin-primitive-on-generic-4.scalaand mixin-primitive-on-generic-5.scala and I checked that the method called is the unboxed one.

@DarkDimius DarkDimius removed their assignment Jan 11, 2017
@DarkDimius
Copy link
Contributor

LGTM

@DarkDimius DarkDimius merged commit ba7e129 into scala:master Jan 11, 2017
@allanrenucci allanrenucci deleted the fix-1877 branch December 14, 2017 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants