applicability: get call expr from anonymous class (IDEA-184965)

This commit is contained in:
Anna Kozlova
2018-01-15 20:23:41 +01:00
parent 7ac397bb3d
commit e037922937
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
abstract class Test {
public <T> Test(final T t, int i) { }
{
Test action = new Test<error descr="'Test(T, int)' in 'Test' cannot be applied to '(java.lang.String, java.lang.String)'">("abc", "name")</error> {};
}
}