mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
LVTI: don't report resource list as multiple var declaration (IDEA-CR-24864)
This commit is contained in:
+1
-1
@@ -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) { }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user