Commit Graph
1122 Commits
Author SHA1 Message Date
Anna Kozlova f0bfe3604e forbid forward references from lambda again (IDEA-119936) 2014-01-30 20:13:48 +04:00
Anna Kozlova 704285aae2 method refs constraint (IDEA-118437) 2014-01-30 20:13:47 +04:00
Anna Kozlova 6a30279168 deeply eliminate wildcards as they may appear during inference in wildcard's bounds 2014-01-30 12:02:21 +04:00
Anna Kozlova 6773fccfe8 testdata for IDEA-104429 2014-01-30 12:02:20 +04:00
Anna Kozlova e2c708dfcf method refs: add constraint P1->ReferenceType for inexact method references despite of spec (IDEA-117311) 2014-01-30 12:02:17 +04: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 32094bf637 temp solution (IDEA-118527) 2014-01-28 17:55:59 +04:00
Anna Kozlova 88c7770258 graph inference: accept raw inference when return type was erased (IDEA-119844) 2014-01-27 19:59:24 +04:00
Anna Kozlova c8e5698c54 graph inference: recursive calls (IDEA-119834) 2014-01-27 19:59:23 +04:00
Anna Kozlova 389fc762e1 EA-53504 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2014-01-24 15:53:47 +04:00
Anna Kozlova b00014b47e method ref constrain (IDEA-119552) 2014-01-24 15:53:44 +04:00
Anna Kozlova 6320d5f50c do not replace checked exception with unchecked (IDEA-119345) 2014-01-21 18:22:44 +04:00
Anna Kozlova aaa813a877 resolve conflicting names (IDEA-119412) 2014-01-21 18:22:42 +04:00
Anna Kozlova baee0eb2b3 distinct prover: do not distinguish raw type arguments from type arguments without params (IDEA-119546) 2014-01-21 18:22:40 +04:00
Anna Kozlova eb258ae064 delete catch fix: introduce ARM 2014-01-02 11:59:13 +01:00
Anna Kozlova 6565df2bab untie static methods in interface hierarchy (IDEA-118577) 2013-12-23 16:44:50 +04:00
Anna Kozlova 3d7a8fb300 ensure public inner inside interface (IDEA-118564) 2013-12-23 16:44:48 +04:00
Anna Kozlova 7c4a448e29 add assert: respect initializer in ForStatement 2013-12-19 21:50:25 +04:00
Anna Kozlova 27a4b1890d suggest to extend class from Throwable when it participates in throw statement (IDEA-118215) 2013-12-16 20:08:26 +04:00
Anna Kozlova a449241577 distinct prover: distinguish types when type parameter has bounds (IDEA-118037) 2013-12-16 17:00:38 +04:00
Anna Kozlova 3bdaae06c9 new inference: propagate outer method to constraints, initial (IDEA-117803) 2013-12-09 17:01:50 +04:00
Anna Kozlova b055f12e86 IDEA-117827 Invalid "ambiguous method call" error 2013-12-09 17:01:48 +04:00
Anna Kozlova bf9f135419 create from usage: reuse 'completion inference' when create from argument list 2013-12-07 14:21:43 +01:00
Anna Kozlova a0ba534c1d IDEA-117780 Bad code is green: non-static class T cannot be referenced from a static context 2013-12-06 20:51:59 +01:00
Bas Leijdekkers fe3cabd3cc fix bad loop IDEA-117644 ("Move initializer to constructor" intention breaks code) 2013-12-05 12:31:28 +01:00
anna 8b97583179 add explicit arguments: eliminate wildcards (IDEA-106741) 2013-12-03 17:35:07 +01:00
Roman Shevchenko 393d831d3a IDEA-117391 (annotation highlighting fixed) 2013-12-02 19:04:42 +01:00
anna 4920da736f IDEA-113339 "replace with method reference" ignores side effect of expression: ignore any new expressions in qualifiers 2013-11-29 18:24:21 +01:00
anna 3c78ab4dc5 lambda -> method ref: do not convert if resulted ref would be ambiguous (IDEA-116964) 2013-11-28 21:42:31 +01:00
anna 852785ea18 testdata to check invalid method refs 2013-11-28 14:14:45 +01:00
anna 5847e27156 suggest casting int to long when Long is expecting 2013-11-28 12:21:43 +01:00
anna f2c576c7de method refs: do not choose more specific method between methods with different number of params
(cherry picked from commit f986c7c3541f032da16736f43fd34c92337242c4)
2013-11-28 12:21:42 +01: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 ad9486dbf7 do not create raw outer types during diamond inference
(cherry picked from commit c812622e14b3cb86ec18cedd406118789abb2e83)
2013-11-28 12:21:35 +01:00
anna bf64625fb2 lambda: process lambda as parameter for anonymous class (IDEA-116987) 2013-11-25 20:48:16 +01:00
anna e493e0c778 new inference: lift containing class type parameters for method references
(cherry picked from commit a341be1196484b6e4c33a7d10059d2bec5bdf955)
2013-11-25 16:48:24 +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 4360e420ae new inference: testdata to prevent regression
(cherry picked from commit 48a86f05e7661d2a96cf6c6d95eaa4629446d0bb)
2013-11-25 16:48:16 +01:00
anna 4001f9fccc new inference: include containing class params for constructor refs
(cherry picked from commit be696513a9ed7e418385a25a879b1e0373dd4cf2)
2013-11-25 16:48:15 +01:00
anna 693eddf5d8 new inference: testdata
(cherry picked from commit 6f0f160f905ae275a2eeaca58343a176df1a42c8)
2013-11-25 16:48:14 +01:00
anna 9ac34fc2ce new inference: highlight method refs with incompatible inferred bounds
(cherry picked from commit e1af6d1b69f93db6915d3c4f86eaee95389607d2)
2013-11-25 16:48:12 +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 5f1db87624 new inference: avoid one type parameter inference
(cherry picked from commit f764e69e3f7e98e0c94e701706121069f2775586)
2013-11-25 16:48:09 +01:00
anna 3188589850 new inference: do not instantiate vars with upper bounds mix when incomplete substitutor is supposed
(cherry picked from commit ff73c519f10ec947b86832a0c4ce5d6ee9b9e4c3)
2013-11-25 16:48:06 +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 d338bc76df lambda: break/continue inside lambda body checks
(cherry picked from commit a290c356e646bb8ad9c097664648ad9033adf2a8)
2013-11-25 16:48:04 +01:00
anna f8e74f085c new inference: temp solution for inexact method refs
(cherry picked from commit e94cddb696cbcb3e3a8d8e4f62f8903b4bd71403)
2013-11-25 16:48:03 +01:00
anna 19852e61cd new inference: infer from thrown exceptions in lambda body
(cherry picked from commit 04056c01aa1eef1239ac88d48baec7ff109ef0df)
2013-11-25 16:48:02 +01:00