mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
CreateLocalFromUsageFix, ExpectedTypesProvider fixes (incl. EA-134473 - assert: CreateLocalFromUsageFix.getAnchor)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Create local variable 'foo'" "true"
|
||||
class Foo {
|
||||
int x = foo ? 0 : switch(1) {
|
||||
default -> {
|
||||
boolean foo;
|
||||
break foo;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Create local variable 'foo'" "true"
|
||||
class Foo {
|
||||
int x = foo ? 0 : switch(1) {
|
||||
default -> {
|
||||
break f<caret>oo;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create local variable 'foo'" "false"
|
||||
class Foo {
|
||||
int x = foo ? 0 : switch(1) {
|
||||
default -> f<caret>oo;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user