File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/transform/patmat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -642,11 +642,11 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
642
642
/** Display spaces */
643
643
def show (s : Space ): String = {
644
644
645
- // does the companion object of the given symbol have custom unapply
645
+ /** does the companion object of the given symbol have custom unapply */
646
646
def hasCustomUnapply (sym : Symbol ): Boolean = {
647
647
val companion = sym.companionModule
648
- companion.findMember(nme.unapply, NoPrefix , Flags . Synthetic ).exists ||
649
- companion.findMember(nme.unapplySeq, NoPrefix , Flags . Synthetic ).exists
648
+ companion.findMember(nme.unapply, NoPrefix , excluded = Synthetic ).exists ||
649
+ companion.findMember(nme.unapplySeq, NoPrefix , excluded = Synthetic ).exists
650
650
}
651
651
652
652
def doShow (s : Space , mergeList : Boolean = false ): String = s match {
You can’t perform that action at this time.
0 commit comments