LVTI: don't report resource list as multiple var declaration (IDEA-CR-24864)

This commit is contained in:
Anna.Kozlova
2017-10-02 11:52:51 +02:00
parent aa8576f3ce
commit d13ad07be9
3 changed files with 6 additions and 6 deletions
@@ -54,7 +54,7 @@ class Main {
private void tryWithResources(AutoCloseable c) throws Exception {
try (<error descr="Cannot infer type: variable initializer is 'null'">var</error> v = null) { }
try (var v = c) { }
try (var v = c; var v1 = c) { }
}
}