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

regression in override checks due to change in isEffectivelyFinal #8324

Closed
scabug opened this issue Feb 22, 2014 · 2 comments
Closed

regression in override checks due to change in isEffectivelyFinal #8324

scabug opened this issue Feb 22, 2014 · 2 comments

Comments

@scabug
Copy link

scabug commented Feb 22, 2014

trait ProjectReference
trait ProjectRef
trait AutoPlugin
private abstract class ProjectDef[PR <: ProjectReference](val autoPlugins: Seq[AutoPlugin]) extends ProjectDefinition[PR]
sealed trait ResolvedProject extends ProjectDefinition[ProjectReference] {
  /** The [[AutoPlugin]]s enabled for this project as computed from [[natures]].*/
  def autoPlugins: Seq[AutoPlugin]
}

sealed trait ProjectDefinition[PR <: ProjectReference] {
  private[sbt] def autoPlugins: Seq[AutoPlugin]
}


object Test {
  new ProjectDef[ProjectReference](null) with ResolvedProject
}

No longer compiles after scala/scala#1000

@scabug
Copy link
Author

scabug commented Feb 22, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8324?orig=1
Reporter: @retronym
Affected Versions: 2.11.0-M1

@scabug
Copy link
Author

scabug commented Feb 22, 2014

@retronym said:
scala/scala#3573

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