mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
preserve comments: split declarations
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Split into declaration and assignment" "true"
|
||||
import java.util.*;
|
||||
class Test {
|
||||
{
|
||||
List<String> l //end line comment
|
||||
;
|
||||
l = new ArrayList<>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Split into declaration and assignment" "true"
|
||||
import java.util.*;
|
||||
class Test {
|
||||
{
|
||||
List<String> l <caret>= new ArrayList//end line comment
|
||||
<>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user