Commit Graph

50 Commits

Author SHA1 Message Date
Anna Kozlova ae2b6c6408 testdata fixed 2014-06-02 15:18:17 +04:00
Anna Kozlova 2f6d5c9e27 testdata for IDEA-118362 2014-05-31 20:36:03 +04:00
Anna Kozlova 4cefdc5290 testdata for IDEA-124547 2014-05-05 17:12:06 +04:00
Anna Kozlova 90d2f451a1 new inference: early abort calculation by lambda return (IDEA-124276) 2014-05-01 16:29:35 +04:00
Anna Kozlova f2256cab48 calculate target type in the same way for statement/expressions lambdas 2014-05-01 15:33:13 +04:00
Anna Kozlova d5107d652f testdata: ensure intersection type is not missed during inference 2014-04-22 20:02:47 +02:00
Anna Kozlova 7898108ccd testdata: ensure lambda can't be inferred from type parameter 2014-04-22 20:02:45 +02:00
Anna Kozlova 75f267c222 testdata for IDEA-123848 2014-04-11 17:06:06 +02:00
Anna Kozlova 5e4751f25f testdata for IDEA-123869 2014-04-11 17:06:05 +02:00
Anna Kozlova 07600e5109 testdata for IDEA-123731 2014-04-09 19:27:17 +02:00
Anna Kozlova 990094f360 new inference: collect nested calls from lambda return statements (JDK-8038747) 2014-04-01 10:19:01 +02:00
Anna Kozlova c7eb840149 new inference: use available in stack methods, do not cache if this info was used (IDEA-122406) 2014-03-26 18:54:41 +01:00
Anna Kozlova 40424a1615 wildcard substitution partly reverted (IDEA-122700) 2014-03-24 20:22:26 +01:00
Anna Kozlova 60acb4b9b2 IDEA-122616 2014-03-21 18:28:36 +01:00
Anna Kozlova 219506dabf new inference: ignore return dependencies of a variable when proper bound is present (IDEA-119535) 2014-03-13 19:30:34 +01:00
Anna Kozlova 853235664f new inference: resolve bounds which are not mentioned by additional constraints before starting algorithm
(cherry picked from commit f4c3b393d749a7ad27936014c932492643a277e4)
2014-03-13 15:15:11 +01:00
Anna Kozlova d03d73ed7d testdata for IDEA-122074, IDEA-122084
(cherry picked from commit 582e8846460cb5f4c20d271cdf7894e557bc6e02)
2014-03-13 15:15:02 +01:00
Anna Kozlova e07fdee02a testdata for IDEA-118965 2014-03-06 10:15:24 +01:00
Anna Kozlova 46112ee3ec new inference: cache lambda functional type during expression constraints reduction (IDEA-121315) 2014-03-06 10:15:23 +01:00
Anna Kozlova b55527aba3 testdata for IDEA-118965 2014-03-03 20:20:56 +01:00
Anna Kozlova ab2348a911 new inference: diamond in lambda return workaround 2014-03-03 13:43:46 +01:00
Anna Kozlova 89aefc86f1 new inference: non-wildcard parameterization 2014-02-25 14:17:43 +01:00
Anna Kozlova 7a70428d04 lambda: accept ellipsis parameter when array expected (IDEA-117124) 2014-02-24 18:59:47 +01:00
Anna Kozlova 2f80e7d9c0 new inference: reject partial computation 2014-02-21 18:55:54 +01:00
Anna Kozlova 6a38fbafaf new inference: avoid current type calculation during conflict resolution for target type detection (IDEA-121052) 2014-02-21 12:42:22 +01:00
Anna Kozlova e42ff74cc5 testdata for IDEA-120992 2014-02-20 22:40:16 +01:00
Anna Kozlova a4deb4da3d new inference: isAcceptable for lambda 2014-02-20 20:27:40 +01:00
Anna Kozlova 9fc4b68c25 new inference: take into account site substitutors during additional constraints gathering 2014-02-20 20:27:38 +01:00
Anna Kozlova 2a16fd1641 new inference: lambda functional type detection 2014-02-19 21:00:42 +01:00
Anna Kozlova bd681beb26 new inference: 18.5.2 adjustments 2014-02-19 09:46:15 +01:00
Anna Kozlova 19ba9d8c8d new inference: resolve 2014-02-19 09:46:05 +01:00
Alexey Kudravtsev c7b78f76a2 IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface 2014-02-18 13:55:52 +04:00
Anna Kozlova 021c0c891e new inference: stop inference if false was inferred 2014-02-12 09:46:33 +01:00
Anna Kozlova ff66c1b01a new inference: well formed check 2014-02-06 19:34:15 +01:00
Anna Kozlova 9ef2c46b28 new inference: propagate current substitutors during additional constrains processing (IDEA-118965) 2014-01-30 12:02:16 +04:00
Anna Kozlova aa04a46498 new inference: reduce additional constraints order fixed 2014-01-29 11:52:11 +04:00
Anna Kozlova 40f3ae8e6e lambda: ground target type for implicit lambda 2014-01-28 17:56:01 +04:00
Anna Kozlova c8e5698c54 graph inference: recursive calls (IDEA-119834) 2014-01-27 19:59:23 +04:00
Anna Kozlova 3bdaae06c9 new inference: propagate outer method to constraints, initial (IDEA-117803) 2013-12-09 17:01:50 +04:00
anna 301efb1be6 lambda: do not distinguish between ellipsis and arrays for formal lambda params checks (IDEA-117124)
(cherry picked from commit 03b253b084ddb93ce485b1997d47a4b00284eb74)
2013-11-28 12:21:37 +01:00
anna bf64625fb2 lambda: process lambda as parameter for anonymous class (IDEA-116987) 2013-11-25 20:48:16 +01:00
anna 912722b922 new inference: raise a error when function type was not inferred (supposing well-formed type as free from wildcards)
(cherry picked from commit a9173e822d2aab629265baf295248950e2319e31)
2013-11-25 16:48:23 +01:00
anna fc58e5e0af new inference: include lifting constraint when parent call is being investigated
(cherry picked from commit aaeafcdce1c8d49512cc1fece17afb3e1705492e)
2013-11-25 16:48:11 +01:00
anna 80e8321a48 intersection types for PsiTypeVisitor; do not convert intersection type to class type even when no actual substitution is needed
(cherry picked from commit 4670ddf57981f596122082365e43587990c3a53e)
2013-11-25 16:48:05 +01:00
anna 82fd892ec5 new inference: overload resolution: check SAM specific withing common specific check
(cherry picked from commit 2bbd45e57bc5df7ff2a5cae7acedc0d2428d9afe)
2013-11-25 16:47:58 +01:00
anna d30bcb3984 new inference: accept unbounded wildcards
(cherry picked from commit ff37a13662a6d85d7890755130e6a696db00c4a6)
2013-11-25 16:47:47 +01:00
anna 628e05bda7 new inference: isValueCompatible check during reduce (IDEA-116548)
(cherry picked from commit 3d028a86a23efeba68187c5a43d822c7aeb388f3)
2013-11-25 16:47:43 +01:00
anna 6086b1725d testdata for IDEA-106670
(cherry picked from commit 78c98d762dd449ff86ea805179b51c2d2b4fc00f)
2013-11-25 16:47:41 +01:00
anna bd64f4044b testdata for IDEA-116252
(cherry picked from commit 263652d7e97e6caab5dce7fb95a37d14ff34de4b)
2013-11-25 16:47:39 +01:00
anna 481bc252f3 switch tests on new inference
(cherry picked from commit d2cbf3f2833104c3a0381059b0d6ef8ac0b3c94c)
2013-11-25 16:47:38 +01:00