inline: try to insert cast when conditional expr is inlined (IDEA-91288)

This commit is contained in:
Anna Kozlova
2012-09-13 22:11:29 +04:00
parent 1fd115a6b5
commit a9d8837b82
4 changed files with 19 additions and 1 deletions
@@ -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();
}
}