diff --git a/src/dotty/tools/dotc/ast/TreeInfo.scala b/src/dotty/tools/dotc/ast/TreeInfo.scala index 2f6b6b914bab..6401c01c1273 100644 --- a/src/dotty/tools/dotc/ast/TreeInfo.scala +++ b/src/dotty/tools/dotc/ast/TreeInfo.scala @@ -33,7 +33,7 @@ trait TreeInfo[T >: Untyped <: Type] { self: Trees.Instance[T] => } def isOpAssign(tree: Tree) = unsplice(tree) match { - case Apply(fn, _ :: Nil) => + case Apply(fn, _ :: _) => unsplice(fn) match { case Select(_, name) if name.isOpAssignmentName => true case _ => false diff --git a/tests/pending/run/colltest1.check b/tests/run/colltest1.check similarity index 100% rename from tests/pending/run/colltest1.check rename to tests/run/colltest1.check diff --git a/tests/pending/run/colltest1.scala b/tests/run/colltest1.scala similarity index 100% rename from tests/pending/run/colltest1.scala rename to tests/run/colltest1.scala