Win Wang

Results 37 issues of Win Wang

```scala package foo class A object B { def default: B = new B } private[foo] class B extends A ``` ```scala package bar val x = B.default ``` In...

Scalafix

Currently, only the auto-inserted imports are formatted correctly.

Scalafix

Consider `val x = new A.B` Currently, we would rewrite this to: ```scala import A.B val x: B = new A.B ``` However, the user has already "declared" their intention...

Scalafix

Consider `CountDownLatch` in `examples/core`: ```scala package com.twitter.util import java.util.concurrent.TimeUnit class CountDownLatch(val initialCount: Int) { val underlying: java.util.concurrent.CountDownLatch = new java.util.concurrent.CountDownLatch(initialCount) ... } ``` In this example, no shortening of `underlying`'s...

Scalafix

```scala val annType1 = ??? : C @ann ```

Scalafix