A bug in properties fixed, a test added

This commit is contained in:
Andrey Breslav
2010-12-30 16:48:46 +03:00
parent 08e1276e41
commit df5bba0a00
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
val foo = bar.foo.bar
val foo
val [a] foo
val foo.bar
+15
View File
@@ -1,5 +1,20 @@
JetFile: Properties.jet
NAMESPACE
PROPERTY
PsiElement(val)('val')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('foo')
PsiWhiteSpace(' ')
PsiElement(EQ)('=')
PsiWhiteSpace(' ')
BINARY_EXPRESSION
BINARY_EXPRESSION
PsiElement(IDENTIFIER)('bar')
PsiElement(DOT)('.')
PsiElement(IDENTIFIER)('foo')
PsiElement(DOT)('.')
PsiElement(IDENTIFIER)('bar')
PsiWhiteSpace('\n\n')
PROPERTY
PsiElement(val)('val')
PsiWhiteSpace(' ')