Closed
Description
Compiler version
3.1.1
Minimized code
import scala.deriving.Mirror
case class Foo(a: Int, b: Int)
case class Bar1(a: Int)(b: Int)
case class Bar2(a: Int)(val b: Int)
summon[Mirror.Of[Foo]]
summon[Mirror.Of[Bar1]]
summon[Mirror.Of[Bar2]]
Output
From scastie
no implicit argument of type deriving.Mirror.Of[Playground.Bar1] was found for parameter x of method summon in object Predef
no implicit argument of type deriving.Mirror.Of[Playground.Bar2] was found for parameter x of method summon in object Predef
Expectation
A Mirror should be generated for Bar1 and Bar2