Scala Buggabot
Scala Buggabot
Functions intersectWith(), unionWith(), diffWith(), or similar names, should be added to generic Traversables or at least to Maps. Note that IntMap and LongMap already have intersectionWith() and unionWith(). The name...
The following two snippets must live in different files. First a sealed `Base` hierarchy. ```scala sealed abstract class Base sealed trait A extends Base object A { case object Root...
This bug only occurs when separately compiling the two files: File 1: ```scala trait TypeHints { def + (hints: TypeHints): TypeHints = CompositeTypeHints() private[TypeHints] case class CompositeTypeHints() extends TypeHints }...
When I compile (with sbt 0.11.2) the code in the following GitHub repo: https://github.com/paulbutcher/scala-macro-bug I **sometimes** get: ``` [error] /Users/paul/scala/foo/src/main/scala/Base.scala:2: overriding value factory in trait Mock of type c.Expr[MockFactoryBase]; [error]...
The order of implicit parameters matters during use site-inference. The method definitions below successfully compile. Actually using y and z yields a compile-time error with message: "diverging implicit expansion for...
The current semantics of `.withDefault` and `.withDefaultValue` are tricky: there's no way to know whether `.apply(key)` will return a value or Nothing. `.get(key)` will return `Some(value)` if explicitly contained in...
Consider the following snippet. Casting to existential causing the error "can't existentially abstract over parameterized type F". `test1` fails for both scala 2.10 and 2.11 `test2` works for 2.10 but...
The following code fails to compile. The failure happens when a method has a default parameter, has a return type depending on one of its parameters; when the method itself...
Run `scaladoc -groups` for the following class: ```scala /** * See [[boppy]]. * * @groupname stuff Stuff */ trait Bippy { /** * Boppy. * @group stuff */ def boppy:...
Seems you can't define a value class's value as implicit: ```scala class IntW(implicit val n: Int) extends AnyVal ``` --- ```scala Foo.scala:1: error: value class may not be a member...