@@ -895,19 +895,19 @@ trait TreeOps extends Core {
895895 kernel.matchTypeTree_Annotated(tree).map(x => (x.arg, x.annotation))
896896 }
897897
898- object IsMatchType {
899- /** Matches any MatchType and returns it */
900- def unapply (tree : Tree )(implicit ctx : Context ): Option [MatchType ] =
901- kernel.matchTypeTree_MatchType (tree)
898+ object IsMatchTypeTree {
899+ /** Matches any MatchTypeTree and returns it */
900+ def unapply (tree : Tree )(implicit ctx : Context ): Option [MatchTypeTree ] =
901+ kernel.matchTypeTree_MatchTypeTree (tree)
902902 }
903903
904- object MatchType {
905- def apply (bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchType =
906- kernel.TypeTree_MatchType_apply (bound, selector, cases)
907- def copy (original : MatchType )(bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchType =
908- kernel.TypeTree_MatchType_copy (original)(bound, selector, cases)
904+ object MatchTypeTree {
905+ def apply (bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchTypeTree =
906+ kernel.TypeTree_MatchTypeTree_apply (bound, selector, cases)
907+ def copy (original : MatchTypeTree )(bound : Option [TypeTree ], selector : TypeTree , cases : List [TypeCaseDef ])(implicit ctx : Context ): MatchTypeTree =
908+ kernel.TypeTree_MatchTypeTree_copy (original)(bound, selector, cases)
909909 def unapply (tree : Tree )(implicit ctx : Context ): Option [(Option [TypeTree ], TypeTree , List [TypeCaseDef ])] =
910- kernel.matchTypeTree_MatchType (tree).map(x => (x.bound, x.selector, x.cases))
910+ kernel.matchTypeTree_MatchTypeTree (tree).map(x => (x.bound, x.selector, x.cases))
911911 }
912912
913913 object IsByName {
@@ -1003,10 +1003,10 @@ trait TreeOps extends Core {
10031003 def annotation (implicit ctx : Context ): Term = kernel.TypeTree_Annotated_annotation (self)
10041004 }
10051005
1006- implicit class TypeTree_MatchTypeAPI (self : TypeTree .MatchType ) {
1007- def bound (implicit ctx : Context ): Option [TypeTree ] = kernel.TypeTree_MatchType_bound (self)
1008- def selector (implicit ctx : Context ): TypeTree = kernel.TypeTree_MatchType_selector (self)
1009- def cases (implicit ctx : Context ): List [TypeCaseDef ] = kernel.TypeTree_MatchType_cases (self)
1006+ implicit class TypeTree_MatchTypeTreeAPI (self : TypeTree .MatchTypeTree ) {
1007+ def bound (implicit ctx : Context ): Option [TypeTree ] = kernel.TypeTree_MatchTypeTree_bound (self)
1008+ def selector (implicit ctx : Context ): TypeTree = kernel.TypeTree_MatchTypeTree_selector (self)
1009+ def cases (implicit ctx : Context ): List [TypeCaseDef ] = kernel.TypeTree_MatchTypeTree_cases (self)
10101010 }
10111011
10121012 implicit class TypeTree_ByNameAPI (self : TypeTree .ByName ) {
0 commit comments