## Compiler version 3.3.0 (also tested in 3.2.2) ## Minimized code See https://github.com/Iltotore/scala3-object-bug/ ## Output The `main` module compiles The `dependent` module does not. Note: removing the match type in type alias works. However, this is disturbing when the match type is relevant. ## Expectation The `Main.scala` file is the same in both module. I would expect the one in `dependent` to compile like the one in `main`.