diff options
-rw-r--r-- | src/dotty/tools/dotc/ast/TreeInfo.scala | 2 | ||||
-rw-r--r-- | tests/run/colltest1.check (renamed from tests/pending/run/colltest1.check) | 0 | ||||
-rw-r--r-- | tests/run/colltest1.scala (renamed from tests/pending/run/colltest1.scala) | 0 |
3 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/TreeInfo.scala b/src/dotty/tools/dotc/ast/TreeInfo.scala index 2f6b6b914..6401c01c1 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 index 5ec6286d9..5ec6286d9 100644 --- a/tests/pending/run/colltest1.check +++ b/tests/run/colltest1.check diff --git a/tests/pending/run/colltest1.scala b/tests/run/colltest1.scala index 3f1fe5530..3f1fe5530 100644 --- a/tests/pending/run/colltest1.scala +++ b/tests/run/colltest1.scala |