Parser: fix recovery for object literal with no body

#KT-5102 Fixed
This commit is contained in:
Michael Nedzelsky
2014-05-30 02:22:35 +04:00
committed by Andrey Breslav
parent 024ed5a236
commit 0332353874
4 changed files with 77 additions and 7 deletions
@@ -900,6 +900,11 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
doParsingTest("compiler/testData/psi/recovery/kt2172.kt");
}
@TestMetadata("kt5102.kt")
public void testKt5102() throws Exception {
doParsingTest("compiler/testData/psi/recovery/kt5102.kt");
}
@TestMetadata("MissingCommaInConstructorValueParameterList.kt")
public void testMissingCommaInConstructorValueParameterList() throws Exception {
doParsingTest("compiler/testData/psi/recovery/MissingCommaInConstructorValueParameterList.kt");