Skip to content

TraversableLike: error: local definition of $anon escapes #938

Closed
@DarkDimius

Description

@DarkDimius
$ dotc ./scala-scala/src/library/scala/collection/TraversableLike.scala
warning: encountered F-bounded higher-kinded type parameters for type CC; assuming they are invariant
warning: encountered F-bounded higher-kinded type parameters for type CC; assuming they are invariant
warning: encountered F-bounded higher-kinded type parameters for type CC; assuming they are invariant
warning: encountered F-bounded higher-kinded type parameters for type CC; assuming they are invariant
./scala-scala/src/library/scala/collection/TraversableLike.scala:666: error: local definition of $anon escapes as part of expression's type scala.collection.TraversableView{A =+ A; Coll =+ Repr; underlying: Repr}
  def view = new TraversableView[A, Repr] {
                 ^
four warnings found
one error found

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