show conflict if move as enum would change the semantics (IDEA-163248)

This commit is contained in:
Anna.Kozlova
2016-11-15 18:11:31 +01:00
parent 6298068d8b
commit 38116b22c1
7 changed files with 83 additions and 26 deletions
@@ -1,2 +1,5 @@
public class B {
{
Object o = A.ONE;
}
}
@@ -1,3 +1,6 @@
public class B {
public static final String ONE = "";
public static final String ONE = "";
{
Object o = ONE;
}
}