Here's a (rather silly) example that shows how the...
# language-proposals
l
Here's a (rather silly) example that shows how the syntax would work:
Copy code
class CharSequenceWrapper(val text: CharSequence)

class SomeClass : CharSequence by privateWrapper.text {
    private val privateWrapper = CharSequenceWrapper("Hello!")
}