Hi Henry

I'm trying to add some test for the implicit conversions (A separate
test-file so it doesn't interfere with the one you're writing) and I'm
unable to get implicit conversion for the apply-methods, did you ever
succeed using them?

zz>"hello"('en)
"hello"('en)
<console>:38: error: type mismatch;
 found   : java.lang.String
 required: ?{val apply: ?}
Note that implicit conversions are not applicable because they are
ambiguous:
 both method string2lit in object EasyGraph of type (str:
String)org.apache.clerezza.rdf.scala.utils.PlainLiteralScala
 and method augmentString in object Predef of type (x:
String)scala.collection.immutable.StringOps
 are possible conversion functions from java.lang.String to ?{val apply: ?}
       "hello"(en)

Cheers,
Reto

Reply via email to