Skip to content

Commit

Permalink
Remove an abstract def that shadows a concrete def in SetTest.
Browse files Browse the repository at this point in the history
The abstract def SetFactory.allowsNullElement shadowed the concrete
def of the same name in CollectionFactory. This is not allowed in
Dotty anymore:
scala/scala3#4770

Since this is not necessary in our tests, there is no point in
leaving that abstract def.
  • Loading branch information
sjrd committed Jul 26, 2020
1 parent 9ff7156 commit 49f9a8b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,4 @@ trait SetTest extends CollectionTest {

trait SetFactory extends CollectionFactory {
def empty[E: ClassTag]: ju.Set[E]

def allowsNullElement: Boolean
}

0 comments on commit 49f9a8b

Please sign in to comment.