-
Notifications
You must be signed in to change notification settings - Fork 21
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
Use of a Value Class as a type argument for a specialized parameter could avoid boxing. #5611
Comments
Imported From: https://issues.scala-lang.org/browse/SI-5611?orig=1 |
@VladUreche said: |
Jamie Allen (shinolajla) said: |
Jamie Allen (shinolajla) said: |
@VladUreche said:
Either way, let's first have multi-field value classes and we'll see afterwards. |
Simon Sotak (the21st) said: |
@retronym said: |
@VladUreche said: |
From the SIP-15 comments:
I've started poking around in https://github.com/scala/scala/blob/master/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala#L295, so far I've managed to trigger use of the specialized constructor (but only as far as to hit a CCE.
The text was updated successfully, but these errors were encountered: