Skip to content

Commit b10eece

Browse files
committed
Fix checking condition
1 parent 76e31aa commit b10eece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2930,7 +2930,7 @@ object Types {
29302930
case tycon: TypeRef if !tycon.symbol.isClass =>
29312931
case _: TypeParamRef | _: ErrorType | _: WildcardType =>
29322932
case _: TypeLambda =>
2933-
assert(args.exists(_.isInstanceOf[TypeBounds]), s"unreduced type apply: $this")
2933+
assert(!args.exists(_.isInstanceOf[TypeBounds]), s"unreduced type apply: $this")
29342934
case tycon: AnnotatedType =>
29352935
check(tycon.underlying)
29362936
case _ =>

0 commit comments

Comments
 (0)