Skip to content

Commit f364b86

Browse files
committed
Make Context.current a transparent inline to make it work under Scala 3.4+
1 parent 92a92bf commit f364b86

File tree

1 file changed

+1
-1
lines changed
  • ducktape/src/main/scala/io/github/arainko/ducktape/internal

1 file changed

+1
-1
lines changed

ducktape/src/main/scala/io/github/arainko/ducktape/internal/Context.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private[ducktape] sealed trait Context {
1515
private[ducktape] object Context {
1616
type Of[F0 <: Fallible] = Context { type F = F0 }
1717

18-
inline def current(using ctx: Context): ctx.type = ctx
18+
transparent inline def current(using ctx: Context): ctx.type = ctx
1919

2020
case class PossiblyFallible[G[+x]](
2121
wrapperType: WrapperType.Wrapped[G],

0 commit comments

Comments
 (0)