On Monday, September 23, 2013 4:35:05 AM UTC-4, Lukas Eder wrote:
>
>
> This is indeed weird. From my intuitive (and far from thorough) 
> understanding, the Scala compiler should infer [T] from the first method 
> argument, just like the Java compile does. But I wouldn't be surprised if 
> this behaviour differs significantly, as soon as implicit conversions 
> apply. Are you using org.jooq.scala.Conversions? What would happen to this 
> statement, if you removed it? In particular these conversions:
>

I removed my import of Conversions._, but it had no effect. It does infer 
it when the types match perfectly. If I find out why the implicit 
int2Integer is not applied, I'll post an update here. If I can help it, I 
don't want to use the more verbose: set[Integer](...), or set(..., 
int2Integer(i)).

Rob

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to