thana06/09/2020, 10:07 AM
. here i want
class Foo<T> (val helper1: Helper1<T>, helper2: Helper2<T>)
work on the same type
but in fact
doesn't really care about what
actually is - they just must match. Is there a way not having to declare the
itself? I don't want to write something like
everywhere i'm using
Or maybe the better question: i sense there is some design flaw here but i cannot really put the finger on. What approaches are there, to resolve this flaw?
E.Kisaragi06/09/2020, 10:15 AM
thana06/09/2020, 10:17 AM
shouldn't be generic
E.Kisaragi06/09/2020, 10:18 AM
thana06/09/2020, 10:21 AM
dead.fish06/09/2020, 10:22 AM
shouldn’t care about the `Helper`s generic args, right?
thana06/09/2020, 10:23 AM
approach, but at least it's a small improvement... i hope 😉 Thank you so far!
Luis Mirabal06/09/2020, 10:52 AM