foobarfreak
04/17/2018, 4:18 PMclass Foo(var target : SomeClass?) : SomeInterface by target {}
it seems though that delegation using by does not work with nullable members. Unfortunately this is some plugin architecture where I need to have a no-args constructor and therefore I can't make target into a val because it will be intialized later. Any idea? Thanks