I feel that interface delegation is extremely less...
# language-proposals
k
I feel that interface delegation is extremely less powerful than property delegation because we can't a) contrain the type of class that uses the delegates b) get access to the instance of the delegating class Property delegation has the
thisRef
parameter. We could emulate this by providing a
thisRef
in the contructor of the delegate, however
this
is not available in this context. Either there needs to be a workaround for somehow sneaking in
this
into the delegate or the language should handle this better.