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 c5ca1f8 commit 4d79c90Copy full SHA for 4d79c90
staging/test-resources/repl-staging/i6007
@@ -3,7 +3,7 @@ scala> import scala.quoted.staging._
3
scala> implicit def toolbox: Toolbox = Toolbox.make(getClass.getClassLoader)
4
def toolbox: quoted.staging.Toolbox
5
scala> def v(given QuoteContext) = '{ (if true then Some(1) else None).map(v => v+1) }
6
-def v given (x$1: quoted.QuoteContext): quoted.Expr[Option[Int]]
+def v(given x$1: quoted.QuoteContext): quoted.Expr[Option[Int]]
7
scala> scala.quoted.staging.withQuoteContext(v.show)
8
val res0: String = (if (true) scala.Some.apply[scala.Int](1) else scala.None).map[scala.Int](((v: scala.Int) => v.+(1)))
9
scala> scala.quoted.staging.run(v)
0 commit comments