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

RC1 + extractors + specialization = trouble (ticket #3299)

No replies
Seth Tisue
Joined: 2008-12-16,
User offline. Last seen 34 weeks 3 days ago.

If your code compiled with Beta1 but the compiler crashes with RC1, try
again, passing -no-specialization to scalac. If the problem goes away,
suspect extractors. See http://lampsvn.epfl.ch/trac/scala/ticket/3299 .
The ticket name says "Array", but see my comment; regex extractors are
affected too.

Extractors do still work in some contexts; some simple examples I tried
in the repl did succeed. But if you look at the code snippets in the
ticket you'll see it doesn't take much to trigger this bug.

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