mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IDEA-CR-36626 IDEA-197773 Groovy type inference performance fix
This commit is contained in:
@@ -296,9 +296,6 @@ public class TypesUtil implements TypeConstants {
|
||||
return true;
|
||||
}
|
||||
|
||||
lType = optionalUnbox(lType);
|
||||
rType = optionalUnbox(rType);
|
||||
|
||||
return TypeConversionUtil.isAssignable(lType, rType);
|
||||
}
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ class GrAssignAutoTest extends GrHighlightingTestBase {
|
||||
''',
|
||||
vectorProduct(types, types),
|
||||
['int -> double[]', 'short -> int[]', 'short -> double[]', 'byte -> int[]', 'byte -> double[]'],
|
||||
['Integer[] -> int[]', 'Integer[] -> double[]', 'int[] -> double[]', 'int[] -> Integer[]']
|
||||
['Integer[] -> int[]', 'Integer[] -> double[]', 'int[] -> double[]', 'int[] -> Integer[]', 'short -> Integer[]', 'byte -> Integer[]']
|
||||
}
|
||||
|
||||
void testReturnAssignValue() {
|
||||
|
||||
Reference in New Issue
Block a user