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

value class + case class + package private constructor = compiler crash #9546

Closed
scabug opened this issue Nov 2, 2015 · 5 comments
Closed

Comments

@scabug
Copy link

scabug commented Nov 2, 2015

package com.example

case class Opt[A] private[example](val get: A) extends AnyVal

object Main {
  val x = Opt("a")
}
@scabug
Copy link
Author

scabug commented Nov 2, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9546?orig=1
Reporter: kenji yoshida
Affected Versions: 2.11.8, 2.12.0-M3
Attachments:

@scabug
Copy link
Author

scabug commented Feb 26, 2016

@SethTisue said (edited on Feb 26, 2016 2:12:32 PM UTC):
2.11.7 doesn't have the crash, but 2.11.8 does! (meaning, the provisional 2.11.8 binaries we staged yesterday; 2.11.8 isn't actually tagged & released yet)

@scabug
Copy link
Author

scabug commented Feb 26, 2016

@gourlaysama said:
If it helps, this regressed in f5dc96b (#4675).

@scabug
Copy link
Author

scabug commented Feb 29, 2016

@SethTisue said:
thanks Antoine. I got to sleep on my flight to Europe instead of running that long git bisect like I'd planned

@scabug
Copy link
Author

scabug commented Mar 1, 2016

@retronym said:
scala/scala#5002

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

No branches or pull requests

2 participants