rsc
rsc copied to clipboard
Context-aware autoimports
Consider val x = new A.B
Currently, we would rewrite this to:
import A.B
val x: B = new A.B
However, the user has already "declared" their intention to not import A.B since they refer to B by its fully qualified name. In this scenario, we would like to respect the user's (estimated) wishes by simply ascribing val x: A.B = new A.B.