This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: Re: Scala Type Inference Challenge (or Giving up on recursive types)

No replies
adriaanm
Joined: 2010-02-08,
User offline. Last seen 31 weeks 4 days ago.
To my untrained eyes, this appears completely redundant. 
good point -- I'll think about whether we can automate this, but for now this is a (somewhat) known limitation of the type inference algorithm
whenever you have a type parameter that occurs in its own bound, expect to run into trouble with type inference for that parameter
cheersadriaan

ps: tracked as SI-4745 

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland