mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
MoveFieldAssignmentToInitializer: disable for self-references
Fixes IDEA-174956 "Move assignment to field declaration" produces red code
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Move assignment to field declaration" "false"
|
||||
|
||||
class Foo {
|
||||
int[] s;
|
||||
|
||||
void foo() {
|
||||
if (s != null) {
|
||||
s = s.cl<caret>one();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user