This page is no longer maintained — Please continue to the home page at www.scala-lang.org

RichString is not a member of scala.runtime?

1 reply
savamilovanovic
Joined: 2011-05-27,
User offline. Last seen 1 year 22 weeks ago.

Hi,

When I try ti import scala.runtime.RichString, my scala 2.9 compiler
says it
"RichString is not a member of scala.runtime"!

Is it moved to some other package or I do not have something properly
installed?
However can see scala.runtime.RichBoolean there!

Thanks for advise in advance!

Sava.

Randall R Schulz
Joined: 2008-12-16,
User offline. Last seen 1 year 29 weeks ago.
Re: RichString is not a member of scala.runtime?

On Saturday June 11 2011, Sava wrote:
> Hi,
>
> When I try ti import scala.runtime.RichString, my scala 2.9 compiler
> says "RichString is not a member of scala.runtime"!
>
> Is it moved to some other package or I do not have something properly
> installed? However can see scala.runtime.RichBoolean there!
>
> Thanks for advise in advance!
>
> Sava.

I don't think there's been a RichString since Scala 2.7.x. It's now
called scala.collection.immutable.StringOps.

Randall Schulz

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland