Skip to content

Commit ae09ac2

Browse files
committed
Drop redundant context parameter
1 parent fc4867e commit ae09ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/TypeOps.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ trait TypeOps { this: Context => // TODO: Make standalone object.
266266
val accu1 = if (accu exists (_ derivesFrom c)) accu else c :: accu
267267
if (cs == c.baseClasses) accu1 else dominators(rest, accu1)
268268
}
269-
def approximateOr(tp1: Type, tp2: Type)(implicit ctx: Context): Type = {
269+
def approximateOr(tp1: Type, tp2: Type): Type = {
270270
def isClassRef(tp: Type): Boolean = tp match {
271271
case tp: TypeRef => tp.symbol.isClass
272272
case tp: RefinedType => isClassRef(tp.parent)

0 commit comments

Comments
 (0)