mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
disable surroundWith fix for var typed locals with non-denotable inferred types
IDEA-CR-33936
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Surround with try/catch" "false"
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
var foo = new T<caret>est() {
|
||||
int x = 2;
|
||||
};
|
||||
System.out.println(foo.x);
|
||||
}
|
||||
|
||||
Test() throws Exception {}
|
||||
}
|
||||
Reference in New Issue
Block a user