jypma commented on issue #3474:
URL: https://github.com/apache/pekko/issues/3474#issuecomment-5436725785

   Good find. The same trick does work in plain Java code as well (override the 
methods and delegate to `super`). At least, it compiles, haven't tested what 
happens at runtime.
   
   Do you think we could get someone from Scala 3 to chime in on whether this 
is on purpose? I know trait linerarization was changed from 2 to 3 (for good 
reasons), and it seems like the compiler now injects defaults methods (where I 
think before it was real methods), but I can't find any places clearly stating 
that multi-mixins like this now no longer guarantee Java interop.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to