fix to switch intersection types order in casts when one of the last types is not an interface

This commit is contained in:
anna
2013-10-31 16:35:39 +01:00
parent 5eb0e62d58
commit 5bd8b62070
6 changed files with 171 additions and 1 deletions
@@ -0,0 +1,7 @@
// "Move 'Number' to the beginning" "true"
class C {
{
Object x = null;
Object y2 = (Number & CharSequence) x;
}
}
@@ -0,0 +1,7 @@
// "Move 'Number' to the beginning" "true"
class C {
{
Object x = null;
Object y2 = (CharSequence & Num<caret>ber) x;
}
}