diff --git a/input/src/main/scala-3/fix/SameParamOverloadingTest2.scala b/input/src/main/scala-3/fix/SameParamOverloadingTest2.scala new file mode 100644 index 0000000..11f4d62 --- /dev/null +++ b/input/src/main/scala-3/fix/SameParamOverloadingTest2.scala @@ -0,0 +1,14 @@ +/* +rule = SameParamOverloading + */ +package fix + +import scala.reflect.ClassTag + +object SameParamOverloadingTest2 { + + abstract class A1 { + def x1[A](a: A)(using ClassTag[A]): Int // assert: SameParamOverloading + def x1[A](b: A): String // assert: SameParamOverloading + } +}