Scala Buggabot
Scala Buggabot
Created and compiled class: ```scala abstract class B { protected def println(): Unit } ``` Javap shows for me: ```java public abstract class B implements scala.ScalaObject { public abstract void...
When using JavaConversions to convert from a java LinkedHashSet, the resulting Set is a scala mutable set. There is a scala version of LinkedHashSet, so I would've expected this to...
```scala import java.lang.reflect.Modifier object Foo { object Bar def main (args: Array[String]){ println(Modifier.isFinal(Foo.getClass.getModifiers)) println(Modifier.isFinal(Bar.getClass.getModifiers)) } } ``` The class generated for `Foo` is final, the one for `Bar` is not;...
The phase assembly, which is responsible for ensuring correct execution order of internal as well as user-defined compiler components, is severely broken. ### How to reproduce I have written a...
If we have this function ```scala def f(to: TraversableOnce[Char]) {} ``` and an optional string ```scala val optionalString = Some("Hello") ``` and try to pass the result of 'Option.getOrElse' to...
Materialization is neat, but, as any macro-based technique, is limited to local tree rewriting. This is typically not a problem for vanilla macros, but in case of materialization this can...
Shouldn't we rewrite infos of tparams when eta-expanding HK types? ```scala scala> trait T[A] { type F[X
First pass at a minimization from 78974e6241b8f4498c7ae2669fc406947282a660 in https://github.com/sirthias/parboiled2/tree/wip/scala-2.11-possible-regression ```scala object Test { import ParboiledLite._ implicitly[RunResult[String => Unit]] } object ParboiledLite { trait HList final case class ::[+H, +T
```scala // J.java package foo; public class J { protected J(M m) { } } // S.scala package bar class SC1 extends foo.J("") class SC2 extends foo.J[String]("") ``` ``` %...
The following compiled with Scala 2.8.1: ```scala @annotation.tailrec def lazyFilter[E](s: Stream[E], p: E => Boolean): Stream[E] = s match { case h #:: t => if (p(h)) h #:: lazyFilter(t,...