mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-08 21:12:07 +07:00
IDEA-90606 Smart completion misses exception from try-with-resources
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
class Test {
|
||||
void foo() {
|
||||
try {
|
||||
try (FileInputStream in = new FileInputStream("adsf")) {
|
||||
}
|
||||
} catch (IOException <caret>) {}
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import java.io.FileInputStream;
|
||||
|
||||
class Test {
|
||||
void foo() {
|
||||
try {
|
||||
try (FileInputStream in = new FileInputStream("adsf")) {
|
||||
}
|
||||
} catch (IO<caret>) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user