-
Currently it says something like this:
```scala
[info] - main *** FAILED ***
[info] scala.ScalaReflectionException: cannot set an immutable field x
[info] at scala.reflect.runtime.JavaMirrors…
-
```
scala> List(12).pickle.unpickle[List[Int]]
java.util.NoSuchElementException: key not found: value
at scala.collection.MapLike$class.default(MapLike.scala:228)
at scala.collection.AbstractM…
-
```
% head sandbox/mega-trait.scala # attached
trait MegaTrait {
def method0: Int = 0
def method1: Int = 0
def method2: Int = 0
def method3: Int = 0
def method4: Int = 0
def method5: Int = 0
d…
-
I try to defined a dummy SPickler this way:
``` scala
class CustomPickler[T](implicit val format: PickleFormat) extends SPickler[T]{
def pickle(t: T, builder: PBuilder): Unit = {
println("In my…
-
```scala
object Test {
def BrokenMethod(): HasFilter[(Int, String)] = ???
trait HasFilter[B] {
def filter(p: B => Boolean) = ???
}
trait HasWithFilter {
def withFilter = ???
…
-
It seems getting the `typeOf` a `case class` doesn't work:
```scala
scala> import scala.reflect.runtime.universe._
import scala.reflect.runtime.universe._
scala> case class X(s: String)
define…
-
Using 0.11.2.
I have the following crash in the build compiler inside Eclipse. It basically complains about a type not being on my classpath. I think it needn't be, since it's referenced from a class…
-
This also happens in compiled code.
scala> val cm = reflect.runtime.currentMirror; val u = cm.universe
cm: reflect.runtime.universe.Mirror = JavaMirror with scala.tools.nsc.interpreter.IMain$Trans…
-
Attempting to get a ClassSymbol from a Scala class with Java attribute with a defined Java Enum parameter causes an exception to be thrown at runtime. If you remove the parameter (let it default) the …
-
Small ant test project to reproduce the error is attached.
Steps:
1. SCALA_HOME environment var is supposed to be set
2. Inside a project dir:
ant clean compile
3. Edit src/B.scala - say, add emp…