Th problem comes with the fact that you are trying...
# kodein
s
Th problem comes with the fact that you are trying to get a
Bus<in T>
, and not a
Bus<in ExecutorTest.TestTaskContext>
. In essence,
T
is not reified. I understand why you are doing this but, unfortunately, there's no easy way to do this in Kodein... properly. A "simple" hack would be to bind and retrieve
Bus<*>
, then cast it to
Bus<in T>
.