Don't create stubs for properties in delegate expression

This commit is contained in:
Natalia.Ukhorskaya
2013-05-21 14:20:41 +04:00
parent a2b82095da
commit 4c9174d49b
2 changed files with 17 additions and 4 deletions
@@ -129,6 +129,12 @@ public class JetStubsTest extends LightCodeInsightFixtureTestCase {
" VALUE_PARAMETER_LIST:PsiJetParameterListStubImpl\n");
}
public void testNotStorePropertyFromDelegate() {
doBuildTest("val a by kotlin.\n val b = 1",
"PsiJetFileStubImpl[package=]\n" +
" PROPERTY:PsiJetPropertyStubImpl[val top topFQName=a name=a typeText=null bodyText=null]\n");
}
public void testNotStorePropertiesFrom() {
doBuildTest("class Test() {\n" +
" val test = 12;\n" +