Scala Buggabot
Scala Buggabot
@som-snytt said: Cheap workaround: ```scala case class Shu(value: Int) { Shu } ``` Less cheap: ```scala case class Ma(value: Int)(implicit dummy: Ma.type = Ma) ``` I noticed that the transform...
@magarciaEPFL said: I've looked at the bytecode emitted with and without `-optimize`, for each of the scenarios below: - `Test` is a `case class` `Test(42)` Outcome: doesn't invoke the companion...
@djspiewak said: `Test(42)` should be semantically equivalent to `val t = Test; t.apply(42)`. Or, equivalently, `val t = Test; val x = t.x; t.apply(42)`. If x is free of side-effects,...
@retronym said: My proposed fix for #4859 stopped just short of fixing this problem, but it shows all the places that need to be touched when we decide to do...
@retronym said: I discussed this with Martin recently, his thoughts: - Accessing a nested Java static classes doesn't run the static initializer of the enclosing class - People might be...
@retronym said: Rescheduling for 2.11, I don't want to change the semantics for a minor release.
@retronym said: Another example. This stems from use of `isExprSafeToInline` in `Erasure#unbox1`. ``` topic/typer-crash-cleanup /code/scala tail sandbox/{t1,c}.scala ==> sandbox/t1.scala sandbox/c.scala
Imported From: https://issues.scala-lang.org/browse/SI-7065?orig=1 Reporter: @xeno-by
Imported From: https://issues.scala-lang.org/browse/SI-8099?orig=1 Reporter: @refried See #7632
Imported From: https://issues.scala-lang.org/browse/SI-9211?orig=1 Reporter: @som-snytt Affected Versions: 2.11.6 See #9209, #8861