Skip to content

infinite loop in implicit search when using collection-strawman #3396

Closed
@smarter

Description

@smarter

The offending code (adapted from the tests in https://github.com/scala/collection-strawman/blob/master/collections-contrib/src/test/scala/strawman/collection/decorators/MapDecoratorTest.scala, which apparently have never been run with Dotty):

import strawman.collection.decorators._

object Test {
  def foo(map: strawman.collection.Map[Int, Int]): Unit = {
    map.zipByKeyWith(map)((a, b) => a)
  }
}
% dotc -classpath "$(coursier fetch -p ch.epfl.scala:collections-contrib_2.12:0.5.0)" map.scala

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions