File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
tests/run/tasty-custom-show Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ object Macros {
4343
4444class DummyShow [T <: Tasty with Singleton ](tasty0 : T ) extends Show [T ](tasty0) {
4545 import tasty ._
46- def showTree (tree : Tree )(implicit ctx : Context ): String = " Tree"
47- def showCaseDef (caseDef : CaseDef )(implicit ctx : Context ): String = " CaseDef"
48- def showPattern (pattern : Pattern )(implicit ctx : Context ): String = " Pattern"
49- def showTypeOrBoundsTree (tpt : TypeOrBoundsTree )(implicit ctx : Context ): String = " TypeOrBoundsTree"
50- def showTypeOrBounds (tpe : TypeOrBounds )(implicit ctx : Context ): String = " TypeOrBounds"
51- def showConstant (const : Constant )(implicit ctx : Context ): String = " Constant"
52- def showSymbol (symbol : Symbol )(implicit ctx : Context ): String = " Symbol"
46+ def showTree (tree : Tree , withColors : Boolean = false )(implicit ctx : Context ): String = " Tree"
47+ def showCaseDef (caseDef : CaseDef , withColors : Boolean = false )(implicit ctx : Context ): String = " CaseDef"
48+ def showPattern (pattern : Pattern , withColors : Boolean = false )(implicit ctx : Context ): String = " Pattern"
49+ def showTypeOrBoundsTree (tpt : TypeOrBoundsTree , withColors : Boolean = false )(implicit ctx : Context ): String = " TypeOrBoundsTree"
50+ def showTypeOrBounds (tpe : TypeOrBounds , withColors : Boolean = false )(implicit ctx : Context ): String = " TypeOrBounds"
51+ def showConstant (const : Constant , withColors : Boolean = false )(implicit ctx : Context ): String = " Constant"
52+ def showSymbol (symbol : Symbol , withColors : Boolean = false )(implicit ctx : Context ): String = " Symbol"
5353}
You can’t perform that action at this time.
0 commit comments