Win Wang
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...
Currently, only the auto-inserted imports are formatted correctly.
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...
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...