allow to create field inside static inner class when outer class has the field with the same name (IDEA-71841)

This commit is contained in:
anna
2011-08-18 14:19:11 +02:00
parent 3f144f08b4
commit a02dca8eca
6 changed files with 32 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
// "Create Field 'field'" "true"
class A {
String field;
static class Foo {
private Object field<caret>;
Foo() {
field;
}
}
}

View File

@@ -0,0 +1,12 @@
// "Create Field 'field'" "true"
class A {
String field;
static class Foo {
Foo() {
fie<caret>ld;
}
}
}