File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
library/src-bootstrapped/scala/quoted Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ abstract class Expr[+T] private[scala] {
10
10
this .unseal.showWith(SyntaxHighlight .plain)
11
11
12
12
/** Show a source code like representation of this expression */
13
- def show (syntaxHighlight : SyntaxHighlight )(using qctx : QuoteContext ): String =
13
+ def showWith (syntaxHighlight : SyntaxHighlight )(using qctx : QuoteContext ): String =
14
14
this .unseal.showWith(syntaxHighlight)
15
15
16
16
/** Return the unlifted value of this expression.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ abstract class Type[X <: AnyKind] private[scala] {
12
12
this .unseal.showWith(SyntaxHighlight .plain)
13
13
14
14
/** Show a source code like representation of this type */
15
- def show (syntaxHighlight : SyntaxHighlight )(using qctx : QuoteContext ): String =
15
+ def showWith (syntaxHighlight : SyntaxHighlight )(using qctx : QuoteContext ): String =
16
16
this .unseal.showWith(syntaxHighlight)
17
17
18
18
/** View this expression `quoted.Type[T]` as a `TypeTree` */
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ object api {
15
15
16
16
private def reflImplColor (x : Expr [String ])(using qctx : QuoteContext ) : Expr [String ] = {
17
17
import qctx .tasty ._
18
- Expr (x.show (ANSI ))
18
+ Expr (x.showWith (ANSI ))
19
19
}
20
20
}
You can’t perform that action at this time.
0 commit comments