Skip to content

Commit bdfe28a

Browse files
Apply suggestions from code review
Co-authored-by: Hamza Remmal <[email protected]>
1 parent c771f9f commit bdfe28a

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ import util.Spans.Span
1717
import config.Printers.derive
1818
import NullOpsDecorator.*
1919
import scala.runtime.Statics
20-
import dotty.tools.dotc.config.Feature
21-
import dotty.tools.dotc.cc.CapturingType
2220

2321
object SyntheticMembers {
2422

library/src/scala/Tuple.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ object Tuple {
175175
case h *: t => F[h, Fold[t, Z, F]]
176176

177177
/** Converts a tuple `(T1, ..., Tn)` to `(F[T1], ..., F[Tn])` */
178-
type Map[Tup <: Tuple, F <: [_ <: Union[Tup]] =>> Any] <: Tuple = Tup match {
178+
type Map[Tup <: Tuple, F[_ <: Union[Tup]]] <: Tuple = Tup match {
179179
case EmptyTuple => EmptyTuple
180180
case h *: t => F[h] *: Map[t, F]
181181
}

project/Build.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,6 @@ object Build {
10831083
// NOTE: Do not use `sourceDirectories` since `sources` are currently pinned until `3.8.0`
10841084
"-sourcepath", (Compile / sources).value.map(_.getCanonicalPath).distinct.mkString(File.pathSeparator),
10851085
"-Yexplicit-nulls",
1086-
"-explain",
10871086
),
10881087
(Compile / doc / scalacOptions) ++= ScaladocConfigs.DefaultGenerationSettings.value.settings,
10891088
(Compile / packageSrc / mappings) ++= {

0 commit comments

Comments
 (0)