(Here is the code to generate the issue, and for convieniency I'm also attachin a zip that contains exactly these classes)
The import type quick fix currently suggest `foo.bar`, which is wrong. In fact, it should suggest `_root_foo.bar`.
// buz/MyBuz.scala
package buz
class MyBuz
//foo/bar/Bar.scala
package foo.bar
class Bar {
val a = new MyBuz // <-- quick fix import here suggest the wrong import, it should be `_root_foo.bar`
}
// foo/bar/buz/Buz.scala
package foo.bar.buz
class Buz
The import type quick fix currently suggest `foo.bar`, which is wrong. In fact, it should suggest `_root_foo.bar`.
Leave a comment
No file chosen
You have an empty file field. Please select or remove it.
Name | Size | ||
---|---|---|---|
fail.zip | 8.96 KB | Added by Mirco Dotta on 2014-05-03 - Upload new version |