mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
inference: propagate variable renames through the call hierarchy; calculate tooltips in tests (IDEA-151948)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ class Test {
|
||||
|
||||
public void doesNotCompile() {
|
||||
Container<String> container = new Container<String>();
|
||||
assertThat<error descr="'assertThat(Test.Container<java.lang.String>, Test.Matcher<? super Test.Container<java.lang.String>>)' in 'Test' cannot be applied to '(Test.Container<java.lang.String>, Test.Matcher<Test.Container<capture<? super java.lang.String>>>)'">(container, hasSomething(is("foo")))</error>;
|
||||
assertThat(container, <error descr="'assertThat(Test.Container<java.lang.String>, Test.Matcher<? super Test.Container<java.lang.String>>)' in 'Test' cannot be applied to '(Test.Container<java.lang.String>, Test.Matcher<Test.Container<capture<? super java.lang.String>>>)'">hasSomething(is("foo"))</error>);
|
||||
}
|
||||
|
||||
public static class Container<T> {}
|
||||
|
||||
Reference in New Issue
Block a user