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 {
642642 /** Display spaces */
643643 def show (s : Space ): String = {
644644
645- // does the companion object of the given symbol have custom unapply
645+ /** does the companion object of the given symbol have custom unapply */
646646 def hasCustomUnapply (sym : Symbol ): Boolean = {
647647 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
650650 }
651651
652652 def doShow (s : Space , mergeList : Boolean = false ): String = s match {
You can’t perform that action at this time.
0 commit comments