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] {
1010 this .unseal.showWith(SyntaxHighlight .plain)
1111
1212 /** 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 =
1414 this .unseal.showWith(syntaxHighlight)
1515
1616 /** 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] {
1212 this .unseal.showWith(SyntaxHighlight .plain)
1313
1414 /** 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 =
1616 this .unseal.showWith(syntaxHighlight)
1717
1818 /** 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 {
1515
1616 private def reflImplColor (x : Expr [String ])(using qctx : QuoteContext ) : Expr [String ] = {
1717 import qctx .tasty ._
18- Expr (x.show (ANSI ))
18+ Expr (x.showWith (ANSI ))
1919 }
2020}
You can’t perform that action at this time.
0 commit comments