```
class A {
def f = {
var x = 0
def n = x + 1
n
}
}
```
It might be possible in LambdaLift to prevent the `IntRef` with a local analysis. In `n`, `x` is not updated and...
Hello, optimizer!
https://github.com/scala/scala/blob/v2.13.15/src/compiler/scala/tools/nsc/backend/jvm/opt/CopyProp.scala#L143
```
...// current field value is `this`, which won't be gc'd a...
I took another look at `mkString`, as the motivating example is `Random.alphanumeric.take(bigNumber).mkString`.
`@nullOut` works to prevent live `this` references on the stack through all the fo...
Now that I think of it, `adaptToMember` to a member of `AnyRef` should always warn. Maybe even without `-Xlint`?
```scala
scala> implicit class Elvis[A](alt: => A) { def ?:(a: A): A = if (a.asI...
> > I wanted to test for NamePos attachment, which seemed to evaporate.
>
> I think you were mistaken there, bud. Probably something else was going on... (leaving this as a reminder to look agai...
@SethTisue thanks for digging.
I added some `println`s here https://github.com/scalameta/metals/blob/v1.4.1/mtags/src/main/scala-2/scala/meta/internal/pc/completions/ArgCompletions.scala#L21-L28...
Includes changes from https://github.com/scala/scala/pull/10937.
Continuation of https://github.com/scala/scala/pull/7990.
-----
`this: @nullOut` or `local: @nullOut` sets the local variab...
This is a simplification of `Enumeration#ValueSet` which has the same issue.
```scala
package scala
import collection.immutable
import collection.mutable
import collection.BuildFrom
abs...