Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
1 change: 0 additions & 1 deletion compiler/src/dotty/tools/dotc/inlines/Inlines.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions tests/warn/i24034/circe.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
} =>
'{
Expand Down