add field to enum: ensure correct position after comment (IDEA-131820)

This commit is contained in:
Anna Kozlova
2014-10-29 18:01:23 +01:00
parent acc4cb4cb2
commit 3e3824fc89
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// "Create Field for Parameter 'p1'" "true"
enum Test{
A;//comment
private int myP1;
void f(int p1){
myP1 = p1;
}
}

View File

@@ -0,0 +1,9 @@
// "Create Field for Parameter 'p1'" "true"
enum Test{
A;//comment
void f(int p<caret>1){
}
}