create from usage: reuse 'completion inference' when create from argument list

This commit is contained in:
Anna Kozlova
2013-12-07 14:21:43 +01:00
parent c3aabac907
commit bf9f135419
3 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
// "Create Local Variable 'foo'" "true"
import java.util.*;
class Test {
{
String foo<caret>;
new Bar(Collections.singletonList(foo));
}
class Bar {
Bar(List<String> l) {
}
}
}

View File

@@ -0,0 +1,12 @@
// "Create Local Variable 'foo'" "true"
import java.util.*;
class Test {
{
new Bar(Collections.singletonList(fo<caret>o));
}
class Bar {
Bar(List<String> l) {
}
}
}