Commit Graph

481 Commits

Author SHA1 Message Date
Anna Kozlova
524c5a4c4d new inference: functional parameterization should proceed to non-wildcard parameterization with partly ready parameterization, new spec (IDEA-131417)
(cherry picked from commit e7cf17fa45740d7f233ce426d9d78a3580399d8e)
2014-10-17 21:03:20 +02:00
Anna Kozlova
b2a07e2eee lambda: stop at method if it's located inside lambda (IDEA-131087)
(cherry picked from commit 890ffa719208e467b1ba238d248dbbf102c71b76)
2014-10-13 19:33:05 +02:00
Anna Kozlova
edd271b71a testdata for IDEA-130920 2014-10-08 14:06:00 +02:00
Anna Kozlova
bcdb87573e new inference: do not cache control flow during conflict resolution (IDEA-130226) 2014-10-07 18:25:03 +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
3f940f370f reference to static method from interface: prefer static import context if provided (IDEA-130136) 2014-09-30 15:47:29 +02:00
Anna Kozlova
30b12e3e25 new inference: same parametrization check tweaked (IDEA-130519) 2014-09-30 15:47:28 +02:00
Anna Kozlova
1df6fba2bb testdata for IDEA-130129 2014-09-29 16:09:18 +02:00
Anna Kozlova
aedcba169d do not drill inside lambda body during return statement search (IDEA-130123) 2014-09-29 14:08:36 +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
f1b12f6025 method refs: correct condition on receiver type substitution (IDEA-129905) 2014-09-16 20:11:42 +04:00
Anna Kozlova
5e79028c99 new inference: checked exceptions inference, ensure throws bound are marked as such 2014-09-16 16:04:04 +04:00
Anna Kozlova
800f508c44 new inference: prohibit substitution during checked exception constraint processing 2014-09-16 10:25:03 +04:00
Anna Kozlova
dc988e848d new inference: do not resolve method calls in lambda return expressions to check isPolyExpression when arguments do not contain potential constrains 2014-09-16 10:25:03 +04:00
Anna Kozlova
c07c3f5c5b lambda: ensure ground type is taken before lambda parameter type is calculated (IDEA-129791) 2014-09-12 21:36:55 +04:00
Anna Kozlova
6b266edf0b testdata accepted 2014-09-12 09:34:43 +04:00
Anna Kozlova
16838a8c11 new inference: teach strict subtyping constraint about intersection types (IDEA-129727) 2014-09-11 09:49:51 +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
29e00ab329 testdata for IDEA-102800 2014-09-08 15:37:38 +04:00
Anna Kozlova
8e353cebff testdata for IDEA-106985 2014-09-04 15:07:13 +04:00
Anna Kozlova
33f7cb51f2 new inference: most specific check according to spec, fixed testdata after JDK-8043734 2014-09-04 13:45:03 +04:00
Anna Kozlova
9097465506 new overload resolution: void value compatibility to reject improperly shaped implicitly typed lambdas 2014-09-03 16:54:34 +04:00
Anna Kozlova
5fc5b2b300 new overload resolution: reject explicitly typed lambda to be pertinent to applicability if any of its return expressions is not 2014-09-03 16:54:33 +04:00
Anna Kozlova
83c2d36544 testdata for assignment to final vars inside lambda 2014-09-03 16:54:32 +04:00
Anna Kozlova
44253d03be forbid assignment to final variable inside lambda 2014-09-03 16:54:31 +04:00
Anna Kozlova
736f703bbf new inference: standalong check with cached data (IDEA-128982) 2014-09-02 19:59:38 +04:00
Anna Kozlova
234a96abe6 testdata for IDEA-126778 2014-09-02 19:59:38 +04:00
Anna Kozlova
04704da817 new inference: accept deep nested lambdas (IDEA-125264) 2014-09-02 16:24:20 +04:00
Anna Kozlova
cf768245b6 new inference: skip parenthesized expressions during additional constrains collection 2014-09-02 16:24:19 +04:00
Anna Kozlova
ed392c7308 unknown classes in testdata fixed 2014-09-01 21:46:11 +04:00
Anna Kozlova
6af644e61d testdata for IDEA-129251 2014-09-01 21:46:11 +04:00
Anna Kozlova
e5afaa7a58 new inference: process additional constraints one after another and use data from previous results (IDEA-124983) 2014-09-01 21:46:11 +04:00
Anna Kozlova
4d3d6e8a8c new inference: ignore trivial dependencies 2014-09-01 21:46:10 +04:00
Anna Kozlova
6e8d0a65f7 new inference: cleanup incorporation phase 2014-08-29 12:01:58 +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
356c3e7c9e new inference: open/close capture when method reference is resolved (IDEA-128712) 2014-08-18 20:56:11 +04:00
Anna Kozlova
81fc7616bf forbid 'static'/'default' in annotation types 2014-08-18 14:35:59 +04:00
Anna Kozlova
b9ae8339d6 method refs: do not accept static varargs methods by receiver (IDEA-128534) 2014-08-13 14:17:59 +04:00
Anna Kozlova
4095b411aa new inference: proceed with additional constraints when no nested calls available (IDEA-124424) 2014-08-12 19:35:37 +04:00
Anna Kozlova
68248573dd testdata for IDEA-127124 comment 2014-08-12 16:08:07 +04:00
Anna Kozlova
8df64d1cde more informative error message (IDEA-125544) 2014-08-11 11:29:24 +04:00
Anna Kozlova
7c6d93dfb4 method reference: take type args into account 2014-08-08 19:49:15 +04:00