-
The following code works in 2.6.0-final but throws and exception in
trunk r12940:
```scala
object Test extends Application
{
val a = Array[String]("a", "b", "c")
System.out.println(a)
val b = …
-
The following simple, if silly, code crashes:
```scala
Welcome to Scala version 2.6.0-final.
Type in expressions to have them evaluated.
Type :help for more information.
scala> def a2p[a,b,c](f:((a…
-
Aladdin: **[http://scala-webapps.epfl.ch/bugtracking/bugs/displayItem.do?id=1297 bug 1297]**
== Code ==
```scala
adriaan-moors-computer:~ adriaan$$ ledit ~/src/scala/trunk/build/quick/bin/scala
Welc…
-
The Scala compiler will (correctly) compile the following:
```scala
case -1 =>
```
but the definition of '{{Pattern}}' in the SLS does not allow it:
```scala
Pattern ::= Pattern1 { ‘|’ Pattern1 }
P…
-
The interpreter admits the subject line as input, but it shouldn't. The reason is because the following code compiles:
```scala
object Foo {
println "Hello, world"
}
```
Either this should no…
-
Welcome to Scala version 2.6.1.13636.20071229-201346.
Type in expressions to have them evaluated.
Type :help for more information.
scala> classOf[java.util.ArrayList[_]]
Exception in thread "main" ja…
-
This used to work in 2.7.0-RC2 but fails in 2.7.0-final. It seems `&` is decoded to an & by the underlying parser (the default one is Java's SAX parser), and the decoder is looking desperately for…
-
In 2.7.0-final and 2.7.1.RC1, the following code:
```scala
import scala.xml._
val pf: PartialFunction[Node, Node] = {
case Elem(p, l, a, s, c @_*) => Elem(p, l, a, s, c :_*)
}
```
Causes the compi…
-
Scala 2.6.1 final[[BR]]
Hope this is the right place to fill a possible bug[[BR]]
```scala
scala> 1 -> "prr"
res93: (Int, java.lang.String) = (1,prr)
scala> 1.->("prr")
res92: (Double, java.lang.St…
-
This is using trunk. Also crashes scalac if compilation is attempted, and 'a' += 'b' is equally deadly.
```scala
scala> 1 += 1
Exception in thread "main" java.lang.NullPointerException
at scala.too…