- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
RC1 + extractors + specialization = trouble (ticket #3299)
Thu, 2010-04-15, 22:19
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.