From 84a397446043d1a3e8ae1edb9db18a8af754384e Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Mon, 4 Jun 2012 18:55:36 +0400 Subject: [PATCH] Missing test data added --- compiler/testData/psi/recovery/kt2172.txt | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 compiler/testData/psi/recovery/kt2172.txt diff --git a/compiler/testData/psi/recovery/kt2172.txt b/compiler/testData/psi/recovery/kt2172.txt new file mode 100644 index 00000000000..183e1a73587 --- /dev/null +++ b/compiler/testData/psi/recovery/kt2172.txt @@ -0,0 +1,30 @@ +JetFile: kt2172.jet + NAMESPACE_HEADER + + CLASS + PsiElement(class)('class') + PsiWhiteSpace(' ') + PsiElement(IDENTIFIER)('Foo') + PsiWhiteSpace(' ') + TYPE_PARAMETER_LIST + + CLASS_BODY + PsiElement(LBRACE)('{') + PsiWhiteSpace('\n\n ') + CLASS_OBJECT + PsiElement(class)('class') + PsiWhiteSpace(' ') + OBJECT_DECLARATION + PsiElement(object)('object') + PsiWhiteSpace(' ') + CLASS_BODY + PsiElement(LBRACE)('{') + PsiWhiteSpace('\n ') + PROPERTY + PsiElement(val)('val') + PsiErrorElement:Expecting property name or receiver type + + PsiWhiteSpace('\n ') + PsiElement(RBRACE)('}') + PsiWhiteSpace('\n') + PsiElement(RBRACE)('}') \ No newline at end of file