From 53c202f4abb34e297905c1e5fdac5c3ff0631009 Mon Sep 17 00:00:00 2001 From: Hamza Remmal <56235032+hamzaremmal@users.noreply.github.com> Date: Wed, 28 Feb 2024 17:31:05 +0100 Subject: [PATCH] Update compiler/src/dotty/tools/dotc/typer/RefChecks.scala MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Doeraene --- compiler/src/dotty/tools/dotc/typer/RefChecks.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/typer/RefChecks.scala b/compiler/src/dotty/tools/dotc/typer/RefChecks.scala index 4b0b4d7185e4..b5d6616f164a 100644 --- a/compiler/src/dotty/tools/dotc/typer/RefChecks.scala +++ b/compiler/src/dotty/tools/dotc/typer/RefChecks.scala @@ -654,9 +654,9 @@ object RefChecks { val missingMethods = grouped.toList flatMap { case (name, syms) => - syms.filterConserve(! _.isSetter) - .groupBy(_.signature) // Avoid duplication for similar definitions (#19731) - .map(f => f._2.head) // _1: Closest undefined method to the scope + syms.filterConserve(!_.isSetter) + .groupBy(_.signature) // Avoid duplication for similar definitions (#19731) + .map(f => f._2.head) // _1: Closest undefined method to the scope } def stubImplementations: List[String] = {