Commit Graph
277 Commits
Author SHA1 Message Date
Anna Kozlova 4a34bd569b do not report unrelated return type error only for generics methods 2014-04-22 20:02:36 +02:00
Anna Kozlova 6f7f761be5 IDEA-123338 2014-04-10 15:27:38 +02:00
Anna Kozlova 33f6d78833 testdata for IDEA-64103 2014-04-09 13:29:02 +02:00
Anna Kozlova 6e4249e5e1 diamonds: wrong constructor selected (IDEA-123518) 2014-04-09 11:29:27 +02:00
Anna Kozlova 1daf8f50df ambiguity (IDEA-123352) 2014-04-03 17:15:53 +02:00
Anna Kozlova 9cfa60146c allow unchecked generics in comparing unrelated return types (IDEA-123316) 2014-04-02 13:52:33 +02:00
Anna Kozlova 84451e644a IDEA-121400 2014-03-27 20:54:28 +01:00
Anna Kozlova f8b3fa2aac testdata fixed 2014-03-24 21:18:34 +01:00
Anna Kozlova 40424a1615 wildcard substitution partly reverted (IDEA-122700) 2014-03-24 20:22:26 +01:00
Anna Kozlova 4686315880 A class may not at the same time be a subtype of two interface types which are different parameterizations of the same generic interface(IDEA-122475); revert workarounds for javac 6 bug 2014-03-20 20:05:27 +01:00
Anna Kozlova f53613781d IDEA-120563 2014-03-17 10:12:36 +01:00
Anna Kozlova 6033fa8670 provide type parameter based type with site substitutor to be accepted during type arguments check 2014-02-26 13:15:24 +01:00
Anna Kozlova 61039804a9 bound promotion for super wildcard (? super A (bound extends A) == A) 2014-02-19 09:46:14 +01:00
Anna Kozlova a91c7f752d bound promotion for super wildcard (? super A (bound extends A) == A) 2014-02-19 09:46:12 +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
Alexey Kudravtsev ad661d92e4 correct level in highlighting:
highlight element X only when visiting X or its ascendant
2014-02-10 20:03:58 +04:00
Anna Kozlova b268a7f59c revert (IDEA-120153) 2014-02-03 19:35:39 +04:00
Anna Kozlova 32094bf637 temp solution (IDEA-118527) 2014-01-28 17:55:59 +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 a449241577 distinct prover: distinguish types when type parameter has bounds (IDEA-118037) 2013-12-16 17:00:38 +04:00
Anna Kozlova b055f12e86 IDEA-117827 Invalid "ambiguous method call" error 2013-12-09 17:01:48 +04: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
anna 79c9afb33c testdata for IDEA-116493
(cherry picked from commit 9270256d3bb30a40be89fee9609f49f288a69040)
2013-11-25 16:47:33 +01:00
anna b87472673a IDEA-113526 2013-10-23 19:16:02 +02:00
anna cbe42de147 testdata for IDEA-65377 2013-10-23 19:16:00 +02:00
anna e3a799dff4 take into account containing class type params when accepting assignability (IDEA-71582) 2013-10-23 16:31:31 +02:00
anna 9ba5f92262 testdata for IDEA-54197 2013-10-23 13:43:42 +02:00
anna 448f07e6ac testdata for IDEA-60836 2013-10-22 21:23:30 +02:00
anna 8b4c147b6f testdata for IDEA-63331 2013-10-22 21:15:26 +02:00
anna e9fd7055e8 testdata for IDEA-60818 2013-10-22 21:04:36 +02:00
anna d86e31fff5 testdata for IDEA-114894 2013-10-21 18:34:56 +02:00
anna efb328123b testdata for IDEA-67591 2013-10-10 20:34:37 +02:00
anna 993fb34281 highlighting for incompatible return types in type parameter inheritors (IDEA-57274) 2013-10-10 20:34:36 +02:00
anna 46e9f4beca testdata for IDEA-57252 2013-10-10 18:39:57 +02:00
anna 82b6b165d6 testdata for IDEA-67518 2013-10-10 18:39:56 +02:00
anna 6a9313c58e type parameter in bounds check: separate wildcards with type param in bound 2013-10-10 18:39:55 +02:00
anna e6ea7bc88c accept type arguments on raw types for > 1.6 javac 2013-10-01 21:42:31 +02:00
Roman Shevchenko 20150830af java: highlighting for statics in anonymous classes 2013-09-16 13:02:14 +04:00
Anna Kozlova 5ac8d00c35 accept narrowing conversion from byte[] to T< extends Serializable> (IDEA-113225) 2013-09-05 19:56:35 +04:00
Anna Kozlova 425a1e03fa avoid warnings on super abstract methods that they try to assign weaker access (IDEA-67584) 2013-08-22 21:59:24 +04:00
Anna Kozlova 5ee69d4938 check overridden methods with different type params numbers for thrown exceptions (IDEA-67860) 2013-08-22 21:59:22 +04:00
Anna Kozlova 507249a31b distinguish wildcards with raw/generic bounds (IDEA-97276) 2013-08-17 16:49:15 +04:00
Anna Kozlova bb1cea719a simplified isAssignable check 2013-08-16 20:54:06 +04:00
Anna Kozlova a6a1737ba1 revert fix for IDEA-110947 (IDEA-112122) 2013-08-16 11:32:39 +04:00
Anna Kozlova e1e583734a TypeParameter inferred types check unification 2013-08-16 11:28:51 +04:00
Anna Kozlova 230c6fd84b moreSpecific: use site info to check assignability, prefer concrete to abstract methods (IDEA-57569) 2013-08-15 13:49:57 +04:00
Anna Kozlova 4e7a81fd93 testdata for IDEA-67843 2013-08-15 13:49:48 +04:00
Anna Kozlova 47220fd160 moreSpecific simplification, include complete check for inferred types in MethodCandidateInfo.isApplicable 2013-08-15 13:49:47 +04:00
Anna Kozlova 533073479b generics: allow foreign interface usage in class type arguments 2013-08-09 14:21:28 +02:00
anna e777a6d77d ambiguity: forgotten check on class type when check for type args (IDEA-67865) 2013-08-07 22:02:55 +02:00