Adam Warski
                                            Adam Warski
                                        
                                    Could you try in a regular scala file, not intellij scratch? I remember having problems with them
@sslavic Maybe you could use `wireWith` then? https://github.com/adamw/macwire#factory-methods
Could you maybe provide an example with a use-case?
@staeff777 the error looks a bit suspicious ... could you paste an entire failing test which would demonstrate it?
Looks quite weird :) Can you try splitting InstanceLookup and valsByClass, to see where the type error exactly is? So: val vbc = valsByClass(ProdModule) val instanceLookup = InstanceLookup(vbc)
Weird :) What if you add an explicit type annotation to "connectionsActor"? E.g.: val connectionsActor: ActorRef = ...
Definitely, I don't know yet why exactly this happens, but I'll try :)
Let's keep this open, the compiler error should definitely be better
+1 A good rule might be to try to locate a unique publicly accessible way to constructor the object - either using a constructor or an apply method, with the...
Hmm no idea I've never tried it, but it sometimes does happen that things don't work in macro-land :)