mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
inline parameter: conflict for write access (IDEA-40733); exceptions are thrown if they are found in initializer (IDEA-40732 )
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
public class Subject {
|
||||
private int myInt;
|
||||
|
||||
public void withArray(int[] <caret>pia) {
|
||||
myInt += pia[0];
|
||||
}
|
||||
}
|
||||
|
||||
class User {
|
||||
private void oper() {
|
||||
Subject subj = new Subject();
|
||||
int[] ia = new int[]{0, 1};
|
||||
ia[0] = 2;
|
||||
subj.withArray(ia);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user