mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
fix to switch intersection types order in casts when one of the last types is not an interface
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Move 'Number' to the beginning" "true"
|
||||
class C {
|
||||
{
|
||||
Object x = null;
|
||||
Object y2 = (Number & CharSequence) x;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Move 'Number' to the beginning" "true"
|
||||
class C {
|
||||
{
|
||||
Object x = null;
|
||||
Object y2 = (CharSequence & Num<caret>ber) x;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user