-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong navigation for constructor call #1103
Comments
|
Right, sorry, when I extracted the use case from the real case I wrote the constructor call wrong. You should change it like this: package test61
import java.util.function.BiConsumer
import org.hibernate.Session
import org.hibernate.SessionFactory
import org.hibernate.criterion.DetachedCriteria
import org.hibernate.criterion.Order
class Test66 {
SessionFactory shopSessionFactory
void foo() {
def b = new MyBean(shopSessionFactory, bar('a', 'b', 'c'), [Order.asc('foo'), Order.asc('bar')], [a: ['a'], b: ['b']], {} as BiConsumer<Session, ? super List>)
}
DetachedCriteria bar(String a, String b, String d) {
}
} The same problem with navigation occurs. |
Getting tripped up on |
ready to test |
Sorry, I missed this. Works fine in 3.8.0.v202004282258-e1912. |
Consider the project attached to #1090 and its
MyBean
class, but use this test class instead:If you click on
MyBean
word inside thefoo()
method and hit F3, you're brought totest61.MyBean.MyBean(SessionFactory, DetachedCriteria, Order...)
constructor, while you should be brought totest61.MyBean.MyBean(SessionFactory, DetachedCriteria, List<Order>, Map<String, ? extends Iterable<String>>, BiConsumer<Session, ? super T>)
.Call Hierarchy and Search for References for the latter constructor, though, are correct, so it seems to be just an issue with navigation.
The text was updated successfully, but these errors were encountered: