scala/scala — pull request #3369 by retronym (2014-01-15 12:47:38+00:00)
Title: SI-8132 Fix false "overrides nothing" for case class protected param

Case class parameters that are less-than-public have an accessor
method created. In the enclosed test, we saw:

case class G extends AnyRef with T with Product with Serializable {
override def s$1: String = G.this.s;
private[this] val s: String = _;
override protected def s: String = G.this.s;
...
}

This commit removes the OVERRIDE flag from the accessor method,
which avoids the spurious "overrides nothing" error.

Review by @gkossakowski