We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
trait IterateeT[F[_]] trait StepT[F[_]] class Test { def iterateeT[F[_]](s: F[StepT[F]]): IterateeT[F] = ??? def fail[M[+_]]: IterateeT[M] = { val back: M[StepT[M]] = ??? iterateeT(back) // fails after SI-2066 fix } def okay1[M[_]]: IterateeT[M] = { val back: M[StepT[M]] = ??? iterateeT(back) // okay if M is invariant } def okay2[M[_]]: IterateeT[M] = { val back: M[StepT[M]] = ??? iterateeT[M](back) // okay if type args are explicit } }
Workarounds shown inline: make M invariant, or supply type arguments to iterateeT explicitly
M
iterateeT
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8522?orig=1 Reporter: @retronym Affected Versions: 2.11.0-M8 See #2066
Sorry, something went wrong.
@retronym said (edited on Apr 21, 2014 7:55:02 PM UTC): Minimized from http://pastebin.com/RFfd2Adp
Changed behaviour in scala/scala#3184
Compiles since Scala 2.13.0
scala/scala@12ae3cd
Fix scala/bug#8522 - add regression test (#8574)
049417e
Fix scala/bug#8522 - add regression test
retronym
Successfully merging a pull request may close this issue.
Workarounds shown inline: make
M
invariant, or supply type arguments toiterateeT
explicitlyThe text was updated successfully, but these errors were encountered: