Breaking up a class into multiple source files

I vaguely recall reading somewhere that Scala 3 will allow classes to be broken up into multiple source files. However, I cannot seem to find anything on it. Is that true and, if so, where can I get some documentation on it? Thanks.

1 Like

I am not aware of any more support for that than what you can already do in Scala 2.

What about top-level definitions? Won’t all go into the same package object even if they are defined in different files in the same package? But then packages are not classes, although they can be considered containers for static methods.