While fixing the issues with static forwarders, @retronym suggested we should stop emitting those forwarders and instead emit a single static method to access the companion module.
Proposal:
- Add the static method in 2.13 (
object A generates public static A$ module() { return A$.MODULE$ } in class A)
- Deprecate static forwarders - in 2.13 already?
- Remove static forwarders - in 2.14 already?
Opinions? Did we discuss this before?