replace diamond with type on inline when after inline diamond won't be inferred (IDEA-66142)

This commit is contained in:
anna
2011-03-08 11:25:19 +01:00
parent 7a2f03d06b
commit afd90a6695
7 changed files with 114 additions and 4 deletions

View File

@@ -70,6 +70,14 @@ public class InlineLocalTest extends LightCodeInsightTestCase {
doTest(false);
}
public void testNewExpressionWithDiamond() throws Exception {
doTest(false);
}
public void testNewExpressionWithPreservedDiamond() throws Exception {
doTest(false);
}
public void testAugmentedAssignment() throws Exception {
String exception = null;
try {