mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
inline: try to insert cast when conditional expr is inlined (IDEA-91288)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
public class Test2 {
|
||||
{
|
||||
Integer iii = true ? 1 : 2;
|
||||
<caret>iii.byteValue();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Test2 {
|
||||
{
|
||||
((Integer) (true ? 1 : 2)).byteValue();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user