fred.deschenes
03/01/2019, 4:04 PMPavlo Liapota
03/01/2019, 4:07 PMimport <http://foo.to|foo.to> as myTofred.deschenes
03/01/2019, 4:08 PMLeoColman
03/01/2019, 4:13 PMto for it to work. Maybe you can import it as another name?fred.deschenes
03/01/2019, 4:15 PMpublic infix fun <A, B> <http://A.to|A.to>(that: B): Pair<A, B> so I can't really import itPavlo Liapota
03/01/2019, 4:16 PMto and when you try to call it, extension function to is called?
This should not happen as member function is always winning agains extension function.fred.deschenes
03/01/2019, 4:22 PMto(other: T) function on the serviceBinder, so it's defaulting to using the <http://A.to|A.to> function for tuples. Still kinda confusing thoughPavlo Liapota
03/01/2019, 4:23 PMfred.deschenes
03/01/2019, 4:25 PMto function with the same signature so it should have used that one, but apparently HK2 is inverted compared to Guice (bind(instance).to(class) instead of bind(class).to(instance)). Or maybe I just need more coffee 😛 Thx for the help though!