Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/typer/RefChecks.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Doeraene <sjrdoeraene@gmail.com>
  • Loading branch information
hamzaremmal and sjrd authored Feb 28, 2024
1 parent 333c068 commit 53c202f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/src/dotty/tools/dotc/typer/RefChecks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit 53c202f

Please sign in to comment.