Name suggester + tests.

Fixed commented introduce variable tests.
This commit is contained in:
Alefas
2012-02-07 18:22:27 +04:00
parent ddbd86cdf5
commit 1d88960a19
20 changed files with 431 additions and 44 deletions
@@ -42,7 +42,12 @@ public class JetNamedFunction extends JetFunction implements StubBasedPsiElement
@Override
public boolean hasBlockBody() {
return findChildByType(JetTokens.EQ) == null;
return getEqualsToken() == null;
}
@Nullable
public PsiElement getEqualsToken() {
return findChildByType(JetTokens.EQ);
}
@NotNull