-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels

Description
In Java, you can omit imports within the same package.
This seems to work with the TSG, except if you use a simple package naming convention.
Repro case
- Use a simple package name
- Specify package name in each package file
// File example/A.java
package example;
public class A {
public void method() {
B instance = new B();
instance.method();
}
}
// File example/B.java
package example;
public class B {
public void method() {
}
}
Expected behavior
When resolving the definition of instance.method
in example/A.java
the definition should be resolved to B.method
in example/B.java
.
Actual behavior
No definition is not found.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity