## Compiler version 3.2.1 3.2.2-RC1 ## Minimized code <!-- This code should be self contained, compilable (with possible failures) and as small as possible. Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue. --> ```Scala //> using platform "jvm" //> using scala "3.2.1" @main def main() = { A { (a: Unit) => () } } object A { def apply[E] = new PartiallyApplied[E] final class PartiallyApplied[E] { def apply[T1](fn: (T1) => Unit): Unit = () } } ``` ## Output ```scala [error] .\partial.scala:6:3: method apply in object A does not take parameters [error] A { (a: Unit) => () } [error] ``` ## Expectation No error like with Scala 3.2.0