Anna Kozlova
fb0495e4a4
nested conditional expressions: don't require nested to be poly if outer is not
2015-05-13 11:41:23 +02:00
Anna Kozlova
8b320ba8a7
disjunction type equals/hashCode, essential for new inference (IDEA-140150)
2015-05-12 11:39:47 +02:00
Anna Kozlova
553ad77e46
overload resolution: reject java 8 varargs methods when they are checked by fixed arity and number of parameters doesn't match
2015-04-24 20:33:40 +02:00
Anna Kozlova
3f27bb4d63
new inference: proceed nested calls of the same method with dependencies between inference variables from different calls (IDEA-136716; IDEA-135286)
2015-02-25 17:32:10 +01:00
Anna Kozlova
0c76e675ec
testdata for IDEA-134277
2015-02-20 22:12:23 +01:00
Anna Kozlova
7bdb789b45
new inference:
...
reject inference if lower and equals bounds do not agree;
-> inference variable should fill extends list types with it's upper bounds as they are correctly substituted with session's inference variables, otherwise incorporation up-up rule could get refs to initial type parameter instead of correct inference variable
2015-02-19 18:07:54 +01:00
Anna Kozlova
1ed0901d4b
new inference: reject equals bounds contradicting lower bounds
2014-12-17 09:57:48 +01:00
Anna Kozlova
983808535d
testdata for IDEA-132725
2014-11-12 19:37:58 +01:00
Anna Kozlova
66cd10b00c
new inference: unchecked conversion detection in case of inference variables (IDEA-122932)
2014-10-31 13:24:40 +01:00
Anna Kozlova
5136167d8b
new inference: use site substitution inside one level of inference only so calls with different site substitutions are possible in one expression (IDEA-131723; IDEA-131562)
2014-10-24 18:36:20 +02:00
Anna Kozlova
892fe777b0
testdata for IDEA-130547
2014-09-30 19:18:49 +02:00
Anna Kozlova
e6483ac10c
testdata for IDEA-130549
2014-09-30 19:18:48 +02:00
Anna Kozlova
38087e7f3b
do not erasure methods from non generics super types of raw types (IDEA-129646)
2014-09-18 15:02:23 +04:00
Anna Kozlova
cbb22b8c9f
new inference: process fresh variables depending on resolved vars (IDEA-56775)
2014-09-08 20:29:29 +04:00
Anna Kozlova
8e353cebff
testdata for IDEA-106985
2014-09-04 15:07:13 +04:00
Anna Kozlova
281546ac00
fix testdata imports
2014-08-28 15:20:58 +04:00
Anna Kozlova
d587b25852
testdata for IDEA-126163
2014-08-28 15:20:58 +04:00
Anna Kozlova
daae222bd0
testdata for IDEA-127285
2014-08-28 15:20:57 +04:00
Anna Kozlova
426836c303
testdata for IDEA-124151; IDEA-128245
2014-08-28 15:20:57 +04:00
Anna Kozlova
495e455ded
new inference: infinite types
2014-08-28 14:28:50 +04:00
Anna Kozlova
5e425d9eac
testdata for (IDEA-128766)
2014-08-21 18:14:27 +04:00
Anna Kozlova
b5229e305b
testdata to fix
2014-08-21 18:14:27 +04:00
Anna Kozlova
9b5eb2418f
new inference: fresh variables
2014-08-21 18:14:27 +04:00
Anna Kozlova
65da126de7
new inference: ignore additional constraints when performed for overload resolution (IDEA-127928)
2014-08-06 17:55:46 +02:00
Anna Kozlova
5f361c8614
new inference: restore cache after use
2014-08-06 17:55:44 +02:00
Anna Kozlova
28569c671e
new inference: highlighting for contradictory inferred intersection types; sequential same method calls context (IDEA-128101)
2014-08-05 11:59:06 +02:00
Anna Kozlova
438e9160a0
overload resolution: force substitutor calculation (IDEA-128174)
2014-08-05 11:59:02 +02:00
Anna Kozlova
502a3e9a65
new inference: check also variable instantiation for primitive wrappers (IDEA-127752)
2014-07-23 19:19:13 +02:00
Anna Kozlova
24be503eb2
new inference: missed condition in conditional expression (IDEA-127752)
2014-07-23 19:19:12 +02:00
Anna Kozlova
2171c25296
revert new inference: mark erased for type params/raw types compatibility (IDEA-126379)
2014-06-19 18:21:44 +02:00
Anna Kozlova
fffde12ba8
new inference: mark erased for type params/raw types compatibility (IDEA-122932)
2014-05-30 23:31:20 +04:00
Anna Kozlova
a2615d0fc1
new inference: accept raw equality
2014-05-30 23:31:18 +04:00
Anna Kozlova
10760d9bbf
new inference: process varargs as separate method candidate/separate phase
...
(cherry picked from commit fdd6f66268d29bb996a103f69180851b92947d21)
2014-03-12 10:15:03 +01:00
Anna Kozlova
dccb826526
new inference: cache substitutor for outer call conflict resolution
2014-03-07 18:02:48 +01:00
Anna Kozlova
f86ac6f741
new inference: use equals bounds during incorporation
2014-03-06 10:15:25 +01:00
Anna Kozlova
80d6e1f570
new inference: use site substitutor during return constraints processing (red code in Collectors)
2014-03-03 20:20:57 +01:00
Anna Kozlova
d8b3e5c7fd
new inference: captures should stay closed inside nested calls
2014-02-28 20:07:08 +01:00
Anna Kozlova
b31b23cd0b
new inference: temp solution to exclude inference results from nested call of the same method on the outer level
2014-02-27 18:32:41 +01:00
Anna Kozlova
5dd7e0622c
new inference: support for nested same method calls
2014-02-27 18:32:40 +01:00
Anna Kozlova
6ded813afe
new inference: most specifics, varargs case
2014-02-25 14:17:44 +01:00
Anna Kozlova
e0ce9deea3
testdata
2014-02-24 18:59:43 +01:00
Anna Kozlova
d2c3b4baef
more specific inference: do not compare functional types if both methods were generic
2014-02-20 22:40:17 +01:00
Anna Kozlova
217a1fd92f
new inference: address anonymous classes (IDEA-121063)
2014-02-20 22:40:15 +01:00
Anna Kozlova
0f023fa5ab
testdata for IDEA-121055
2014-02-20 22:40:14 +01:00
Anna Kozlova
de7f053c42
new inference: do not accept varargs when array is passed there
2014-02-20 20:27:39 +01:00
Anna Kozlova
3093e7e63f
testdata fixed
2014-02-19 21:00:41 +01:00
Anna Kozlova
54bfa05e5e
new inference: lift also unknown vars (IDEA-117530)
2014-02-19 09:46:22 +01:00
Anna Kozlova
bd681beb26
new inference: 18.5.2 adjustments
2014-02-19 09:46:15 +01:00
Anna Kozlova
15740a3cff
new inference: cls copy replacement
2014-02-19 09:46:10 +01:00
Anna Kozlova
19ba9d8c8d
new inference: resolve
2014-02-19 09:46:05 +01:00