From 4152f8e109ec67c12860bc95edc834d75715431a Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sat, 11 Oct 2025 16:21:15 +0900 Subject: [PATCH 1/3] Fix some scaladoc in compiler --- compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala | 2 +- compiler/src/dotty/tools/dotc/inlines/Inlines.scala | 1 - compiler/src/dotty/tools/dotc/transform/AccessProxies.scala | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) 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 From 7c540f1f6973a95b207036a453f94e81dfbdc451 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Wed, 5 Nov 2025 13:59:14 +0100 Subject: [PATCH 2/3] Fix some scaladoc in compiler [Cherry-picked eb4fdbd260e81c9266db6a72c463894a10c89947][modified] From c79922148e28159b25963a41137847c7bdd2db96 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Wed, 5 Nov 2025 14:06:33 +0100 Subject: [PATCH 3/3] bugfix: Fix issues with warnings, not related to this PR --- tests/warn/i24034/circe.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 } } => '{