Skip to content

Commit 1c869be

Browse files
author
Tobias Bordenca
committed
Fix missing parameters in DummyShow methods
1 parent 6b3755f commit 1c869be

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/run/tasty-custom-show/quoted_1.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ object Macros {
4343

4444
class 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
}

0 commit comments

Comments
 (0)