mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline local: don't enable short circuit when detecting refs/defs (IDEA-195332)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class MyTest {
|
||||
{
|
||||
int <caret>j = 0;
|
||||
System.out.println(false ? j : 'x');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class MyTest {
|
||||
{
|
||||
System.out.println(false ? 0 : 'x');
|
||||
}
|
||||
}
|
||||
@@ -270,6 +270,10 @@ public class InlineLocalTest extends LightCodeInsightTestCase {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
public void testDisableShortCircuit() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
public void testOperationPrecedenceWhenInlineToStringConcatenation() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user