@@ -414,6 +414,9 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext:
414
414
withDefaultPos(tpd.Select (qualifier, name.toTermName))
415
415
def overloaded (qualifier : Term , name : String , targs : List [Type ], args : List [Term ]): Apply =
416
416
withDefaultPos(tpd.applyOverloaded(qualifier, name.toTermName, args, targs, Types .WildcardType ).asInstanceOf [Apply ])
417
+
418
+ def overloaded (qualifier : Term , name : String , targs : List [Type ], args : List [Term ], returnType : Type ): Apply =
419
+ withDefaultPos(tpd.applyOverloaded(qualifier, name.toTermName, args, targs, returnType).asInstanceOf [Apply ])
417
420
def copy (original : Tree )(qualifier : Term , name : String ): Select =
418
421
tpd.cpy.Select (original)(qualifier, name.toTermName)
419
422
def unapply (x : Select ): Option [(Term , String )] =
@@ -2049,6 +2052,9 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext:
2049
2052
object TypeBounds extends TypeBoundsModule :
2050
2053
def apply (low : Type , hi : Type ): TypeBounds = Types .TypeBounds (low, hi)
2051
2054
def unapply (x : TypeBounds ): Option [(Type , Type )] = Some ((x.low, x.hi))
2055
+ def empty : TypeBounds = Types .TypeBounds .empty
2056
+ def upper (hi : Type ): TypeBounds = Types .TypeBounds .upper(hi)
2057
+ def lower (lo : Type ): TypeBounds = Types .TypeBounds .lower(lo)
2052
2058
end TypeBounds
2053
2059
2054
2060
object TypeBoundsMethodsImpl extends TypeBoundsMethods :
0 commit comments