Skip to content

Commit f05e595

Browse files
authored
Address review
1 parent f8931ab commit f05e595

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/core/TypeComparer.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,6 @@ class TypeComparer(initctx: Context) extends ConstraintHandling[AbsentContext] {
10831083
case tparam: Symbol
10841084
if leftRoot.isStable || (ctx.isAfterTyper || ctx.mode.is(Mode.TypevarsMissContext)) && leftRoot.member(tparam.name).exists =>
10851085
val captured = TypeRef(leftRoot, tparam)
1086-
assert(captured.exists, i"$leftRoot has no member $tparam in isSubArgs($args1, $args2, $tp1, $tparams2)")
10871086
isSubArg(captured, arg2)
10881087
case _ =>
10891088
false

0 commit comments

Comments
 (0)