@@ -146,7 +146,7 @@ abstract class Tasty {
146146
147147 val TypeDef : TypeDefExtractor
148148 abstract class TypeDefExtractor {
149- def unapply (x : TypeDef )(implicit ctx : Context ): Option [(String , MaybeTypeTree /* TypeTree | TypeBoundsTree */ )]
149+ def unapply (x : TypeDef )(implicit ctx : Context ): Option [(String , TypeOrBoundsTree /* TypeTree | TypeBoundsTree */ )]
150150 }
151151
152152 // PackageDef
@@ -332,17 +332,17 @@ abstract class Tasty {
332332
333333 // ----- TypeTrees ------------------------------------------------
334334
335- type MaybeTypeTree
335+ type TypeOrBoundsTree
336336
337- trait AbstractMaybeTypeTree {
338- def tpe (implicit ctx : Context ): MaybeType
337+ trait AbstractTypeOrBoundsTree {
338+ def tpe (implicit ctx : Context ): TypeOrBounds
339339 }
340- implicit def MaybeTypeTreeDeco (x : MaybeTypeTree ): AbstractMaybeTypeTree
340+ implicit def TypeOrBoundsTreeDeco (x : TypeOrBoundsTree ): AbstractTypeOrBoundsTree
341341
342342
343343 // ----- TypeTrees ------------------------------------------------
344344
345- type TypeTree <: MaybeTypeTree
345+ type TypeTree <: TypeOrBoundsTree
346346
347347 trait AbstractTypeTree extends Typed with Positioned
348348 implicit def TypeTreeDeco (x : TypeTree ): AbstractTypeTree
@@ -401,7 +401,7 @@ abstract class Tasty {
401401
402402 // ----- TypeBoundsTrees ------------------------------------------------
403403
404- type TypeBoundsTree <: MaybeTypeTree
404+ type TypeBoundsTree <: TypeOrBoundsTree
405405
406406 trait AbstractTypeBoundsTree {
407407 def tpe : TypeBounds
@@ -417,15 +417,15 @@ abstract class Tasty {
417417
418418 // ===== Types ====================================================
419419
420- type MaybeType
420+ type TypeOrBounds
421421
422422 trait Typed {
423423 def tpe (implicit ctx : Context ): Type
424424 }
425425
426426 // ----- Types ----------------------------------------------------
427427
428- type Type <: MaybeType
428+ type Type <: TypeOrBounds
429429
430430 implicit def typeClassTag : ClassTag [Type ]
431431
@@ -436,12 +436,12 @@ abstract class Tasty {
436436
437437 val SymRef : SymRefExtractor
438438 abstract class SymRefExtractor {
439- def unapply (x : Type )(implicit ctx : Context ): Option [(Definition , MaybeType /* Type | NoPrefix */ )]
439+ def unapply (x : Type )(implicit ctx : Context ): Option [(Definition , TypeOrBounds /* Type | NoPrefix */ )]
440440 }
441441
442442 val NameRef : NameRefExtractor
443443 abstract class NameRefExtractor {
444- def unapply (x : Type )(implicit ctx : Context ): Option [(String , MaybeType /* Type | NoPrefix */ )]
444+ def unapply (x : Type )(implicit ctx : Context ): Option [(String , TypeOrBounds /* Type | NoPrefix */ )]
445445 }
446446
447447 val SuperType : SuperTypeExtractor
@@ -451,12 +451,12 @@ abstract class Tasty {
451451
452452 val Refinement : RefinementExtractor
453453 abstract class RefinementExtractor {
454- def unapply (x : Type )(implicit ctx : Context ): Option [(Type , String , MaybeType /* Type | TypeBounds */ )]
454+ def unapply (x : Type )(implicit ctx : Context ): Option [(Type , String , TypeOrBounds /* Type | TypeBounds */ )]
455455 }
456456
457457 val AppliedType : AppliedTypeExtractor
458458 abstract class AppliedTypeExtractor {
459- def unapply (x : Type )(implicit ctx : Context ): Option [(Type , List [MaybeType /* Type | TypeBounds */ ])]
459+ def unapply (x : Type )(implicit ctx : Context ): Option [(Type , List [TypeOrBounds /* Type | TypeBounds */ ])]
460460 }
461461
462462 val AnnotatedType : AnnotatedTypeExtractor
@@ -481,7 +481,7 @@ abstract class Tasty {
481481
482482 val ParamRef : ParamRefExtractor
483483 abstract class ParamRefExtractor {
484- def unapply (x : Type )(implicit ctx : Context ): Option [(LambdaType [MaybeType ], Int )]
484+ def unapply (x : Type )(implicit ctx : Context ): Option [(LambdaType [TypeOrBounds ], Int )]
485485 }
486486
487487 val ThisType : ThisTypeExtractor
@@ -503,7 +503,7 @@ abstract class Tasty {
503503
504504 // ----- Methodic Types -------------------------------------------
505505
506- type LambdaType [ParamInfo <: MaybeType ] <: Type
506+ type LambdaType [ParamInfo <: TypeOrBounds ] <: Type
507507
508508 type MethodType <: LambdaType [Type ]
509509
@@ -540,7 +540,7 @@ abstract class Tasty {
540540
541541 // ----- TypeBounds -----------------------------------------------
542542
543- type TypeBounds <: MaybeType
543+ type TypeBounds <: TypeOrBounds
544544
545545 implicit def typeBoundsClassTag : ClassTag [TypeBounds ]
546546
@@ -551,7 +551,7 @@ abstract class Tasty {
551551
552552 // ----- NoPrefix -------------------------------------------------
553553
554- type NoPrefix <: MaybeType
554+ type NoPrefix <: TypeOrBounds
555555
556556 implicit def noPrefixClassTag : ClassTag [NoPrefix ]
557557
0 commit comments