We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2bb58 commit ff55ea5Copy full SHA for ff55ea5
1 file changed
core/shared/src/main/scala/org/typelevel/log4cats/LocalLogContext.scala
@@ -81,7 +81,8 @@ object LocalLogContext {
81
def ask[E2 >: Map[String, String]]: F[E2] =
82
asks
83
.traverse(_.ask[Map[String, String]])
84
- .map(_.reduceLeft(_ ++ _))
+ .map[Map[String, String]](_.reduceLeft(_ ++ _))
85
+ .widen // tparam on `map` and `widen` to make scala 3 happy
86
def prependLowPriority(ask: AskContext[F]): MultiAskContext[F] =
87
new MultiAskContext(ask +: asks)
88
def appendHighPriority(ask: AskContext[F]): MultiAskContext[F] =
0 commit comments