This is helpful since it mentions the fact that the name is imported twice.
-eugene
default-c2c40c> compile
[info] Compiling 1 Scala source to
/Users/eed3si9n/work/quick-demo/bug1/target/scala-2.10/classes...
[info] /Users/eed3si9n/work/quick-demo/bug1/demo.scala:33: <intFormat:
error> is not a valid implicit value for rt.Format[Int] because:
[info] reference to intFormat is ambiguous;
[info] it is imported twice in the same scope by
[info] import client._
[info] and import rt._
[info] println(something[Int])
[info] ^
[info] /Users/eed3si9n/work/quick-demo/bug1/demo.scala:47:
<dataRecordFormat: error> is not a valid implicit value for
rt.Format[rt.DataRecord[client.Address]] because:
[info] reference to dataRecordFormat is ambiguous;
[info] it is imported twice in the same scope by
[info] import client._
[info] and import rt._
[info] println(something[DataRecord[Address]])
[info] ^
[info] /Users/eed3si9n/work/quick-demo/bug1/demo.scala:47:
<dataRecordFormat: error> is not a valid implicit value for
rt.Format[rt.DataRecord[client.Address]] because:
[info] reference to dataRecordFormat is ambiguous;
[info] it is imported twice in the same scope by
[info] import client._
[info] and import rt._
[info] println(something[DataRecord[Address]])
[info] ^
[info] /Users/eed3si9n/work/quick-demo/bug1/demo.scala:47:
<dataRecordFormat: error> is not a valid implicit value for
rt.Format[rt.DataRecord[client.Address]] because:
[info] reference to dataRecordFormat is ambiguous;
[info] it is imported twice in the same scope by
[info] import client._
[info] and import rt._
[info] println(something[DataRecord[Address]])
[info] ^
[error] /Users/eed3si9n/work/quick-demo/bug1/demo.scala:47: ambiguous
implicit values:
[error] both method dataRecordFormat in trait StandardInstances of
type [A](implicit evidence$1:
rt.Format[A])rt.Format[rt.DataRecord[A]]{val str: String}
[error] and method dataRecordFormat in trait StandardInstances of
type [A](implicit evidence$1:
rt.Format[A])rt.Format[rt.DataRecord[A]]{val str: String}
[error] match expected type rt.Format[rt.DataRecord[client.Address]]
[error] println(something[DataRecord[Address]])
[error] ^
[error] /Users/eed3si9n/work/quick-demo/bug1/demo.scala:76: ambiguous
implicit values:
[error] both method dataRecordFormat in trait StandardInstances of
type [A](implicit evidence$1:
rt.Format[A])rt.Format[rt.DataRecord[A]]{val str: String}
[error] and method dataRecordFormat in trait StandardInstances of
type [A](implicit evidence$1:
rt.Format[A])rt.Format[rt.DataRecord[A]]{val str: String}
[error] match expected type rt.Format[rt.DataRecord[client.Address]]
[error] println(rt.something[rt.DataRecord[client.Address]])
[error] ^
[error] two errors found
[error] (compile:compile) Compilation failed
[error] Total time: 1 s, completed Oct 21, 2012 2:37:44 PM