Yeah, unfortunately if the existing class doesn’t ...
# getting-started
d
Yeah, unfortunately if the existing class doesn’t have a companion method you can’t add companion extension methods 😞
r
dalexander: I remember reading something about adding implicit synthetic companion objects, but it was a while ago and I don't remember the details. I wonder how that would work out, or if it would at all.
d
I saw the ticket for it in youtrack a few weeks ago, there hadn’t been any activity on it for about 6 months.
r
Ah, lame
d
I suspect it’s something that’s sufficiently nuanced that it would take a bit of effort to create a reasonable design.
r
That's probably true. I wonder what corner cases would pop up. You don't happen to have a link to the ticket, do you? Google didn't turn up anything useful.
d
Let me see if I can dig it up.
(I guess it wasn’t on youtrack =p) This is the issue I remember seeing though.
r
Thanks 🙂 It looks like there wasn't hardly any discussion.