diff --git a/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala b/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala index 262b5df43362..8942d5daa3b3 100644 --- a/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala +++ b/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala @@ -46,7 +46,7 @@ class DottyPrimitives(ictx: Context) { * operation is an array get/set, we inspect the type of the receiver * to demux the operation. * - * @param fun The method symbol + * @param app The method symbol * @param tpe The type of the receiver object. It is used only for array * operations */ diff --git a/compiler/src/dotty/tools/dotc/inlines/Inlines.scala b/compiler/src/dotty/tools/dotc/inlines/Inlines.scala index 4d904724f230..753dbe34777e 100644 --- a/compiler/src/dotty/tools/dotc/inlines/Inlines.scala +++ b/compiler/src/dotty/tools/dotc/inlines/Inlines.scala @@ -97,7 +97,6 @@ object Inlines: * inline depth is exceeded. * * @param tree The call to inline - * @param pt The expected type of the call. * @return An `Inlined` node that refers to the original call and the inlined bindings * and body that replace it. */ diff --git a/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala b/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala index ee4055bdafb1..911e96c0e69f 100644 --- a/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala +++ b/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala @@ -127,7 +127,6 @@ abstract class AccessProxies { * access with a reference to the accessor. * * @param reference The original reference to the non-public symbol - * @param onLHS The reference is on the left-hand side of an assignment */ def useAccessor(reference: RefTree)(using Context): Tree = { val accessed = reference.symbol.asTerm diff --git a/tests/warn/i24034/circe.scala b/tests/warn/i24034/circe.scala index 5d2e646f67b2..9c30f6ed9938 100644 --- a/tests/warn/i24034/circe.scala +++ b/tests/warn/i24034/circe.scala @@ -49,11 +49,11 @@ object ConfiguredCodec: q: Quotes ): Expr[ConfiguredCodec[A]] = { mirror match { - case '{ - ${ _ }: Mirror.ProductOf[A] { - type MirroredLabel = l - type MirroredElemLabels = el - type MirroredElemTypes = et + case '{ // LTS specific warnings + ${ _ }: Mirror.ProductOf[A] { // warn + type MirroredLabel = l // warn + type MirroredElemLabels = el // warn + type MirroredElemTypes = et // warn } } => '{