title: Implicit conversion from String to Int in scala 2.8
body: <p>Is there something I've got wrong with the following fragment:-</p>
  
  <pre><code>object Imp {
    implicit def string2Int(s: String): Int = s.toInt
  
    def f(i: Int) = i
  
    def main(args: Array[String]) {
      val n: Int = f("666")
    }
  }
  </code></pre>
  
  <p>I get the following from the 2.8 compiler:-</p>
  
  <p>Information:Compilation completed with 1 error and 0 warnings<br>
  Information:1 error<br>
  Information:0 warnings<br>
  ...\scala-2.8-tests\src\Imp.scala<br>
      Error:Error:line (4)error: type mismatch;<br>
  found   : String<br>
  required: ?{val toInt: ?}<br>
  Note that implicit conversions are not applicable because they are ambiguous:<br>
  both method string2Int in object Imp of type (s: String)Int<br>
  and method augmentString in object Predef of type (x:String)scala.collection.immutable.StringOps<br>
  are possible conversion functions from String to ?{val toInt: ?}<br>
  implicit def string2Int(s: String): Int = s.toInt  </p>