Open
Description
This bug is related to #14699, which was solved but we missed a case for context function blocks.
Compiler version
v3.1.3-RC2
Minimized code
See https://scastie.scala-lang.org/ftY9Wn6KQvC81LR30o3jUA
trait Ctx
given Ctx with {}
def always(block: Ctx ?=> Unit): Unit = {}
def always(args: Int*)(block: Ctx ?=> Unit): Unit ={}
always{} //error
always(1,2,3) {}
Output
None of the overloaded alternatives of method always in object Playground with types
(args: Int*)(block: (Playground.Ctx) ?=> Unit): Unit
(block: (Playground.Ctx) ?=> Unit): Unit
match arguments (Unit)
Expectation
No error.