Skip to content

Commit 7f57e8f

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

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
@@ -1080,7 +1080,6 @@ object Build {
10801080
// NOTE: Do not use `sourceDirectories` since `sources` are currently pinned until `3.8.0`
10811081
"-sourcepath", (Compile / sources).value.map(_.getCanonicalPath).distinct.mkString(File.pathSeparator),
10821082
"-Yexplicit-nulls",
1083-
"-explain",
10841083
),
10851084
(Compile / doc / scalacOptions) ++= ScaladocConfigs.DefaultGenerationSettings.value.settings,
10861085
(Compile / packageSrc / mappings) ++= {

0 commit comments

Comments
 (0)