Commit Graph

693 Commits

Author SHA1 Message Date
Anna Kozlova
7e141da4c2 method references: compare number of arguments for non-vararg applicability only (IDEA-132708) 2014-11-11 12:03:06 +01:00
Anna Kozlova
96bfd65ab3 intersection rules: flatten unbounded wildcard with everything (IDEA-132431) 2014-11-07 15:47:50 +01:00
Anna Kozlova
6aef1682d6 testdata IDEA-132560 2014-11-07 15:47:49 +01:00
Anna Kozlova
668ccc7dd0 new inference: site substitution from remembered properties (IDEA-132417) 2014-11-06 19:11:31 +01:00
Anna Kozlova
bba30278f9 method refs: fix variable initializing order (IDEA-132445) 2014-11-06 19:11:29 +01:00
Anna Kozlova
234fdbfc4f find functional expressions by method type parameter 2014-11-05 19:31:52 +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
ddbaef9462 fix message for final locals used inside local/anonym classes in java 8 (IDEA-131949) 2014-10-29 18:05:52 +01:00
Anna Kozlova
f0fc85674e diamonds: constructor varargs (IDEA-131918) 2014-10-29 14:21:11 +01:00
Anna Kozlova
8f67ad587e "might not have been initialized" adjusted for lambdas inside anonymous (IDEA-130468) 2014-10-24 21:48:13 +02: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
247fbc358f testdata for IDEA-131700 2014-10-23 14:46:29 +02:00
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