Skip to content

Commit a67273e

Browse files
authored
Merge pull request #625 from scala/backport-lts-3.3-24166
Backport "Fix some scaladoc in compiler" to 3.3 LTS
2 parents f21a593 + c799221 commit a67273e

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DottyPrimitives(ictx: Context) {
4646
* operation is an array get/set, we inspect the type of the receiver
4747
* to demux the operation.
4848
*
49-
* @param fun The method symbol
49+
* @param app The method symbol
5050
* @param tpe The type of the receiver object. It is used only for array
5151
* operations
5252
*/

compiler/src/dotty/tools/dotc/inlines/Inlines.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ object Inlines:
9797
* inline depth is exceeded.
9898
*
9999
* @param tree The call to inline
100-
* @param pt The expected type of the call.
101100
* @return An `Inlined` node that refers to the original call and the inlined bindings
102101
* and body that replace it.
103102
*/

compiler/src/dotty/tools/dotc/transform/AccessProxies.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ abstract class AccessProxies {
127127
* access with a reference to the accessor.
128128
*
129129
* @param reference The original reference to the non-public symbol
130-
* @param onLHS The reference is on the left-hand side of an assignment
131130
*/
132131
def useAccessor(reference: RefTree)(using Context): Tree = {
133132
val accessed = reference.symbol.asTerm

tests/warn/i24034/circe.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ object ConfiguredCodec:
4949
q: Quotes
5050
): Expr[ConfiguredCodec[A]] = {
5151
mirror match {
52-
case '{
53-
${ _ }: Mirror.ProductOf[A] {
54-
type MirroredLabel = l
55-
type MirroredElemLabels = el
56-
type MirroredElemTypes = et
52+
case '{ // LTS specific warnings
53+
${ _ }: Mirror.ProductOf[A] { // warn
54+
type MirroredLabel = l // warn
55+
type MirroredElemLabels = el // warn
56+
type MirroredElemTypes = et // warn
5757
}
5858
} =>
5959
'{

0 commit comments

Comments
 (0)