bug
bug copied to clipboard
Scala 2 bug reports only. Please, no questions — proper bug reports only.
I'm using following definition to show difference in way compiler handles cake pattern and normal imports: trait Bound { type Param type Kind[P
Take the following expression: ```scala @ desugar { def foo: String = { lazy val hello: String = {println("HA"); ""} def inner: String = { val unused = hello ""...
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...
Not sure if it's a bug, or if there are fundamental reasons why inference cannot succeed. ```scala object Q { def f[T, F[X
In my opinion the `RichXYZ` classes should be moved outside of the `runtime` package. The `runtime` package is not supposed to be part of the public API. _Originally posted by...
```scala trait Iterable[+S] trait Box[U] trait A { type T