Fixed KT-5110 Smart completion: do not generate comma if next argument has default value

Fixed KT-5109 Smart completion: do not insert comma if next argument is vararg

 #KT-5110 Fixed
 #KT-5109 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-07-22 18:53:41 +04:00
parent bddb01888a
commit 67df7de7b1
6 changed files with 48 additions and 3 deletions
@@ -91,6 +91,16 @@ public class SmartCompletionHandlerTestGenerated extends AbstractSmartCompletion
doTest("idea/testData/completion/handlers/smart/Comma1.kt");
}
@TestMetadata("Comma10.kt")
public void testComma10() throws Exception {
doTest("idea/testData/completion/handlers/smart/Comma10.kt");
}
@TestMetadata("Comma11.kt")
public void testComma11() throws Exception {
doTest("idea/testData/completion/handlers/smart/Comma11.kt");
}
@TestMetadata("Comma2.kt")
public void testComma2() throws Exception {
doTest("idea/testData/completion/handlers/smart/Comma2.kt");