introduce variable in local class results to introduced field (IDEA-175213)

This commit is contained in:
Anna.Kozlova
2017-06-30 18:04:43 +02:00
parent a799ab72e3
commit 026d0b10eb
7 changed files with 80 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
public class TestClass {
void x() {
new Exception() {
final int j = doSomething();
private final int j = doSomething();
int doSomething() { return 1; }
void a() {