mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
last resource delete from try-with-resources(IDEA-145803)
ensure that psi remain correct, automatically resolve conflict with variables declared after the try-with-resources stmt
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Test {
|
||||
void m() throws Exception {
|
||||
try (AutoCloseable r2 = null) {
|
||||
System.out.println(null + ", " + r2);
|
||||
}
|
||||
System.out.println(null + ", " + r2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user