Commit Graph

1498 Commits

Author SHA1 Message Date
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 4131ada075 testdata for IDEA-78402 2014-08-18 21:45:31 +04:00
Anna Kozlova 6d5cc7b95a testdata for IDEA-19800 2014-08-18 21:45:31 +04:00
Anna Kozlova 0bcd4c8491 testdata for IDEA-25949 2014-08-18 21:45:30 +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 8369db7878 create from new: fix type parameters setup (IDEA-128679; IDEA-128682) 2014-08-18 15:21:11 +04:00
Anna Kozlova 2a41b7a9c3 annotation type: error for duplicated methods (IDEA-128675) 2014-08-18 14:36:00 +04:00
Anna Kozlova 81fc7616bf forbid 'static'/'default' in annotation types 2014-08-18 14:35:59 +04:00
Bas Leijdekkers 26be69646b EA-59436 (IOE: PsiJavaParserFacadeImpl.createExpressionFromText) 2014-08-15 17:26:51 +02:00
Bas Leijdekkers e65ecdae08 EA-59392 (NPE: ControlFlowAnalyzer.visitPostfixExpression) 2014-08-14 22:38:57 +02:00
Anna Kozlova d27529ff3b normalize array initializer in surround with try catch (IDEA-128218) 2014-08-14 16:04:52 +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 328808bebb redundant cast: process instanceof (IDEA-128493) 2014-08-12 19:35:38 +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 6a8c124ada fix all naming to avoid confusion: fix all '' in file 2014-08-11 19:01:47 +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
Anna Kozlova 29dbb0c26e testdata to fix 2014-08-08 19:49:14 +04:00
Anna Kozlova ead13681e1 new inference: postpone resolution of independent vars (IDEA-125674) 2014-08-08 19:49:14 +04:00
Anna Kozlova 2ad2db4124 testdata to fix 2014-08-08 11:44:59 +04:00
Anna Kozlova ecf7f009d2 testdata to be fixed 2014-08-07 16:13:15 +02:00
Anna Kozlova 0381abe4b3 testdata for IDEA-127275 2014-08-06 17:55:48 +02: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 313125533c method reference: exact reference check fixed for methods with the signatures without generics (IDEA-127765) 2014-08-05 18:54:32 +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 457091952f effectively final check (IDEA-128196) 2014-08-04 15:08:27 +02:00
Anna Kozlova 4a6095476f EA-57951 - AIOOBE: AnonymousCanBeLambdaInspection.getInferredType
anonymous -> lambda on varargs place
2014-07-23 20:57:31 +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
Alexey Kudravtsev 1b9ba31da8 cast from Short to char is prohibited 2014-07-23 13:35:58 +04:00
Anna Kozlova e9a17dfad8 field can be local: when field is used in method for read it can't be converted to local if used in another methods (IDEA-127159) 2014-07-22 20:37:38 +02:00
Anna Kozlova bacc3c2ad6 lambda -> method refs: collapse when acceptable method without supers found 2014-07-21 20:47:52 +02:00
Anna Kozlova 4b7122b83d shorten FQNs when insert casts (IDEA-127573) 2014-07-21 19:19:15 +02:00
Anna Kozlova 91f505e2f7 create static method from usage in interface (IDEA-127563) 2014-07-21 19:19:14 +02:00
Anna Kozlova a46f4cef52 anonym -> lambda: disable in case when inferred type differs from type of anonymous class and parameter of param type is used inside (IDEA-127603);
BTW param.toString would be also rejected
2014-07-21 17:56:21 +02:00
Anna Kozlova 89dc528242 new inference: no substitution during most specific inference by means of new spec (IDEA-127584) 2014-07-21 17:56:20 +02:00
Roman Shevchenko 322e539fc5 IDEA-127077 (highlighting test) 2014-07-21 16:08:23 +02:00
Anna Kozlova 9b4912c5a0 lambda: do not start inference from void type (IDEA-127596) 2014-07-21 12:12:28 +02:00
Anna Kozlova 067ef9e309 method refs: check first parameter if it could be a receiver for varargs methods (IDEA-127506) 2014-07-18 18:19:20 +02:00
Alexey Kudravtsev 0a6a37496e Reverted: cast from Short to char is prohibited (1c5a03589e) 2014-07-18 17:21:10 +04:00
Alexey Kudravtsev 1c5a03589e cast from Short to char is prohibited 2014-07-18 14:58:43 +04:00
Anna Kozlova 7d19e0e85e method refs: missed super class substitution (IDEA-126969) 2014-07-18 10:34:55 +02:00
Anna Kozlova 590ed4cc23 disable create instance field inside interface (IDEA-127211) 2014-07-14 20:58:24 +02:00
Anna Kozlova 04d81c718c type distinct prover for object/type parameter wildcard fixed IDEA-124363 2014-07-02 21:25:09 +02:00
Anna Kozlova 496fb918b8 testdata for IDEA-126809 2014-07-02 16:35:25 +02:00