SE-0339: Module Aliasing for Disambiguation

Let me give an example of what I mean. Imagine the following desired package graph, where every module is different:

MyPackage
  Gaming
    Sound (moduleAliases: [Utils: SoundUtils])
      Utils
    Utils
  Music
    Sound (moduleAliases: [Utils: SoundUtils])
      Utils
    Utils

With a standard dependency declaration, “MyPackage” would have two clashing “SoundUtils” and at least two clashing “Utils” modules. What should it specify in moduleAliases for one or both of its dependencies in order to resolve the problem?

1 Like