Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DarkDimius opened this issue Nov 9, 2015 · 0 comments
Closed

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

DarkDimius opened this issue Nov 9, 2015 · 0 comments

Comments

@DarkDimius
Copy link
Contributor

$ 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
DarkDimius added a commit to dotty-staging/dotty that referenced this issue Nov 9, 2015
DarkDimius added a commit to dotty-staging/dotty that referenced this issue Nov 10, 2015
odersky added a commit to dotty-staging/dotty that referenced this issue Nov 15, 2015
Need to avoid also symbols in ThisTypes
@odersky odersky mentioned this issue Nov 15, 2015
odersky added a commit to dotty-staging/dotty that referenced this issue Nov 16, 2015
Need to avoid also symbols in ThisTypes
odersky added a commit that referenced this issue Nov 17, 2015
odersky added a commit to dotty-staging/dotty that referenced this issue Aug 28, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Aug 29, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Aug 31, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Aug 31, 2017
odersky added a commit that referenced this issue Aug 31, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Sep 4, 2017
liufengyun pushed a commit to dotty-staging/dotty that referenced this issue Sep 6, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Sep 6, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Sep 8, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Sep 14, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Sep 17, 2017
odersky added a commit to dotty-staging/dotty that referenced this issue Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants