Commit Graph
236 Commits
Author SHA1 Message Date
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
anna 75b37b8dbf testdata for IDEA-57312 2013-08-06 20:48:33 +02:00
anna c8cc567c52 do not open capture for upper level wildcards with equals constraint (IDEA-57439) 2013-08-06 20:48:32 +02:00
anna ad657339ff continue least upper bound calculation till second nested layer (IDEA-67676) 2013-08-06 20:48:31 +02:00
Alexey Kudravtsev e4c59feb9d more optimisations 2013-08-05 14:47:32 +04:00
anna 07937a57e5 testdata for IDEA-57289 2013-07-26 20:10:45 +02:00
anna 562a03a913 testdata for IDEA-107440 2013-07-26 19:11:14 +02:00
anna 6cee174e4e check all type parameters bounds (IDEA-109556) 2013-07-26 19:11:13 +02:00
anna b55834ea6e moreSpecific conflicts resolve (IDEA-111085) 2013-07-26 19:11:13 +02:00
anna b6884eab9f capture wildcards in type casts (IDEA-101862; IDEA-97703) 2013-07-25 18:31:29 +02:00
anna 3a4d70a453 inference: do not infer from type cast (IDEA-111002) 2013-07-25 11:21:22 +02:00
anna d59413a8a1 do not infer from wildcard with raw bound (IDEA-110947) 2013-07-24 17:14:29 +02:00
anna d3fcd37b20 type param bound check fixed (IDEA-110869) 2013-07-23 18:38:42 +02:00
anna 4ea8185461 fix method signature erased equality (IDEA-57391) 2013-07-18 19:47:51 +02:00
anna 4c0d630919 provably distinct (IDEA-67682) 2013-07-18 19:11:14 +02:00
anna 25b9cc4304 inference for ? super wildcard (IDEA-67744) 2013-07-17 20:31:47 +02:00
anna b1418932ee testdata for IDEA-67835 2013-07-17 20:31:46 +02:00
anna e6ee01a887 do not rebound captured wildcard (IDEA-57325) 2013-07-17 20:31:45 +02:00
anna 823e008db1 calculate bound based on all type arguments (IDEA-57334) 2013-07-17 20:31:44 +02:00
anna 8a15ea45ab generics: do not prefer interface over super class even if return type is more specific (IDEA-110568) 2013-07-16 12:30:04 +02:00
Alexey Kudravtsev 1c70b3a95f GenericHighlightingTest fixed 2013-07-04 11:13:52 +04:00
anna 434ba25684 testdata for IDEA-109875 2013-07-03 19:14:17 +02:00
Alexey Kudravtsev 7400c8f866 check for duplicate methods made linear down from quadratic 2013-07-02 11:53:09 +04:00
Anna Kozlova c7c2261533 fix tests 2013-06-28 19:01:27 +04:00
Anna Kozlova 8a2413e4b3 EA-47133 - SOE: GenericsUtil.getLeastUpperClassesInner 2013-06-18 18:44:29 +04:00
Anna Kozlova 38e5db3a1d testdata for IDEA-77128 2013-06-04 19:25:10 +04:00
Anna Kozlova 7982d35821 ~do not accept self nested classes in class declaration if they inherit nested classes from superclass (IDEA-55510) 2013-06-04 14:18:46 +04:00
Anna Kozlova 42ece72f79 do not accept deep bound promotion in type parameters withing bound check (IDEA-107654) 2013-06-04 14:18:45 +04:00
Anna Kozlova 91779d0c81 check extends/implements list for nested classes of super type (IDEA-108287) 2013-06-03 22:25:28 +04:00
Anna Kozlova cc88360208 do not infer from parent when inference from bound result in a raw type (IDEA-107782) 2013-05-28 18:50:18 +04:00
Anna Kozlova 9661f35dbd accept raw subtyping when instance method is called on raw type (IDEA-107957) 2013-05-28 18:50:17 +04:00
anna 103bf1fed3 IDEA-105846 2013-05-16 11:29:27 +02:00
anna ea136f42f7 IDEA-106964 2013-05-10 17:17:58 +02:00
anna 160833314a do not warn about reference to super member before call to super (IDEA-57259) 2013-05-08 16:03:27 +02:00
anna b37fec0b4c illegal forward references in type parameter's declaration detection (< 1.7 IDEA-57260) 2013-05-08 15:09:27 +02:00
anna d3f31f402f type parameter cannot be inherited with different arguments as well as any other class (IDEA-57324) 2013-05-08 15:09:26 +02:00
anna 6065034a21 Type arguments of a raw method (IDEA-57277) 2013-05-08 11:44:11 +02:00
anna 2fe4b2c78a detect type parameters cyclic inference 2013-05-07 17:19:58 +02:00
anna 3e8ef273d8 select from type parameter error processing (IDEA-62453) 2013-05-07 17:19:57 +02:00
anna a9a42e512b show error if override generics method in raw inheritor (comment IDEA-19718) 2013-05-07 13:43:26 +02:00
anna fe9777e840 capture top level wildcards when choosing conditional expression type (~IDEA-16723) 2013-05-07 11:44:28 +02:00
anna cf43a20b76 capture getClass type inside expressions list (IDEA-57877) 2013-05-06 21:21:51 +02:00