You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala>objectO { classC; @deprecated("", "") typeD=C; deffoo:Seq[D] =Nil }
<console>:33:warning: typeD in objectO is deprecated:
objectO { classC; @deprecated("", "") typeD=C; deffoo:Seq[D] =Nil }
^
defined objectO
scala>O.foo ++:Nil
<console>:34:warning: typeD in objectO is deprecated:
valres2=
^
<console>:35:warning: typeD in objectO is deprecated:
O.foo ++:Nil
^
res2:List[O.D] =List()
In Scala 2.9:
scala>O.foo ++:Nil
<console>:29:warning: typeD in objectO is deprecated: scala.this.deprecated.init$default$1valres1=
^
<console>:30:warning: typeD in objectO is deprecated: scala.this.deprecated.init$default$1O.foo ++:Nil
^
The text was updated successfully, but these errors were encountered:
@retronym said:
I guess this change is debatable. I encountered it when using SBT 0.13; some plugins used a deprecated type alias and I incurred the wrath of the deprecation patrol.
In Scala 2.9:
The text was updated successfully, but these errors were encountered: