split into declarations: preserve comments in normalizeDeclaration

This commit is contained in:
Anna.Kozlova
2017-11-27 18:02:44 +01:00
parent a326a4ca94
commit 6811b80a39
3 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
// "Split into separate declarations" "true"
class Test {
{
String foo = "foo";//c1
//c2
String bar = "bar";
}
}

View File

@@ -0,0 +1,7 @@
// "Split into separate declarations" "true"
class Test {
{
String foo <caret>= "foo",//c1
bar = "bar";//c2
}
}