don't override first field by same named second (IDEA-174523)

This commit is contained in:
Anna Kozlova
2017-06-16 11:53:53 +03:00
parent c9f38674c2
commit 5d8e3f67a1
3 changed files with 8 additions and 1 deletions
@@ -0,0 +1,4 @@
class Test {
int i;
int <error descr="Variable 'i' is already defined in the scope">i</error>;
}