Skip to content
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

run/vector1.scala fails to find implicit #681

Closed
DarkDimius opened this issue Jun 24, 2015 · 3 comments
Closed

run/vector1.scala fails to find implicit #681

DarkDimius opened this issue Jun 24, 2015 · 3 comments

Comments

@DarkDimius
Copy link
Contributor

[info] compiling /Users/dark/workspace/dotty/tests/partest-generated/run/vector1.scala
[info] options: -pagewidth 160 -Yno-deep-subtypes -Yno-double-bindings -Ycheck:tailrec,resolveSuper,mixin,restoreScopes -d ./tests/partest-generated/run/vector1-run.obj
[info] /Users/dark/workspace/dotty/tests/partest-generated/run/vector1.scala:128: error: no implicit argument of type scala.collection.generic.CanBuildFrom[
[info]   (CC? >: ([HK$0] => scala.collection.mutable.WrappedArray[HK$0])[HK$0 = Int] <: ([HK$0] =>  <: scala.collection.TraversableOnce[HK$0]))[(T? = Int)]#Apply
[info] , (T? = Int),
[info]   (CC? >: ([HK$0] => scala.collection.mutable.WrappedArray[HK$0])[HK$0 = Int] <: ([HK$0] =>  <: scala.collection.TraversableOnce[HK$0]))[(T? = Int)]#Apply
[info] ] found for parameter bf of method shuffle in class Random
[info]     val pos = scala.util.Random.shuffle(scala.collection.mutable.WrappedArray.make[Int](Array.tabulate[Int](N)(i => i)))
[info]                                                                                                                         ^
@smarter
Copy link
Member

smarter commented Jun 24, 2015

Probably duplicate of #553

@smarter
Copy link
Member

smarter commented Nov 18, 2015

Fixed by #799, leaving this open until we move the test out of pending.

@odersky
Copy link
Contributor

odersky commented Feb 8, 2016

@smarter I think it's preferable to move the test out of pending immediately if that can close an issue. If we do not do this, issues stay open and it takes unnecessary effort to come back to the context.

smarter added a commit to dotty-staging/dotty that referenced this issue Feb 8, 2016
smarter added a commit to dotty-staging/dotty that referenced this issue Feb 9, 2016
@odersky odersky closed this as completed Feb 20, 2016
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

3 participants