@@ -672,29 +672,29 @@ trait TreeOps extends Core {
672672 def cases (given ctx : Context ): List [CaseDef ] = internal.Match_cases (self)
673673 }
674674
675- given (given Context ): IsInstanceOf [ImpliedMatch ] = internal.isInstanceOfImpliedMatch
675+ given (given Context ): IsInstanceOf [GivenMatch ] = internal.isInstanceOfGivenMatch
676676
677677 /** Scala implicit `match` term */
678- object IsImpliedMatch
679- @ deprecated(" Use _: ImpliedMatch " , " " )
680- def unapply (x : ImpliedMatch ): Some [ImpliedMatch ] = Some (x)
678+ object IsGivenMatch
679+ @ deprecated(" Use _: GivenMatch " , " " )
680+ def unapply (x : GivenMatch ): Some [GivenMatch ] = Some (x)
681681
682- object ImpliedMatch {
682+ object GivenMatch {
683683
684- /** Creates a pattern match `delegate match { <cases: List[CaseDef]> }` */
685- def apply (cases : List [CaseDef ])(given ctx : Context ): ImpliedMatch =
686- internal.ImplicitMatch_apply (cases)
684+ /** Creates a pattern match `given match { <cases: List[CaseDef]> }` */
685+ def apply (cases : List [CaseDef ])(given ctx : Context ): GivenMatch =
686+ internal.GivenMatch_apply (cases)
687687
688- def copy (original : Tree )(cases : List [CaseDef ])(given ctx : Context ): ImpliedMatch =
689- internal.ImplicitMatch_copy (original)(cases)
688+ def copy (original : Tree )(cases : List [CaseDef ])(given ctx : Context ): GivenMatch =
689+ internal.GivenMatch_copy (original)(cases)
690690
691- /** Matches a pattern match `delegate match { <cases: List[CaseDef]> }` */
692- def unapply (x : ImpliedMatch )(given ctx : Context ): Option [List [CaseDef ]] = Some (x.cases)
691+ /** Matches a pattern match `given match { <cases: List[CaseDef]> }` */
692+ def unapply (x : GivenMatch )(given ctx : Context ): Option [List [CaseDef ]] = Some (x.cases)
693693
694694 }
695695
696- given ImpliedMatchOps : (self : ImpliedMatch ) {
697- def cases (given ctx : Context ): List [CaseDef ] = internal.ImplicitMatch_cases (self)
696+ given GivenMatchOps : (self : GivenMatch ) {
697+ def cases (given ctx : Context ): List [CaseDef ] = internal.GivenMatch_cases (self)
698698 }
699699
700700 given (given Context ): IsInstanceOf [Try ] = internal.isInstanceOfTry
0 commit comments