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

Why does type-alias behaviour change with 2.9?

1 reply
Tony Morris 2
Joined: 2009-03-20,
User offline. Last seen 42 years 45 weeks ago.

The following source file fails to compile with 2.9 but compiles just
fine with 2.8. All it takes is the introduction of a type-annotation
that aliases the inferred type to fail the compiler. This makes me
boggle a little -- is it expected behaviour?

http://paste.pocoo.org/show/454488/

adriaanm
Joined: 2010-02-08,
User offline. Last seen 31 weeks 4 days ago.
Re: Why does type-alias behaviour change with 2.9?
fixed in 2.9.1
cheersadriaan

On Mon, Aug 8, 2011 at 3:50 AM, Tony Morris <tonymorris@gmail.com> wrote:
The following source file fails to compile with 2.9 but compiles just
fine with 2.8. All it takes is the introduction of a type-annotation
that aliases the inferred type to fail the compiler. This makes me
boggle a little -- is it expected behaviour?

http://paste.pocoo.org/show/454488/

--
Tony Morris
http://tmorris.net/



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