Fix moving of value parameters and arguments

This commit is contained in:
Alexey Sedunov
2013-06-04 15:35:43 +04:00
parent a78822ddba
commit 7805ee01eb
16 changed files with 200 additions and 28 deletions
@@ -73,6 +73,13 @@ public class JetPsiFactory {
return star;
}
@NotNull
public static PsiElement createComma(Project project) {
PsiElement comma = createType(project, "T<X, Y>").findElementAt(3);
assert comma != null;
return comma;
}
//the pair contains the first and the last elements of a range
public static Pair<PsiElement, PsiElement> createColonAndWhiteSpaces(Project project) {
JetProperty property = createProperty(project, "val x : Int");