Commit Graph

306 Commits

Author SHA1 Message Date
Anna Kozlova 04d81c718c type distinct prover for object/type parameter wildcard fixed IDEA-124363 2014-07-02 21:25:09 +02:00
Anna Kozlova fca471c397 conditional expression: ensure return type is primitive short in case of short/byte branches (IDEA-126697) 2014-06-30 14:03:38 +02:00
Anna Kozlova 489563106d provably distinct: continue to compare for nested levels (IDEA-126633) 2014-06-27 18:31:55 +02:00
Anna Kozlova 69e6a15e27 temp revert capture open 2014-06-23 20:10:00 +02:00
Anna Kozlova 27f10a6c30 check to prevent contradicted intersection type (IDEA-67600) 2014-06-09 17:03:12 +04:00
Anna Kozlova 2f0830187b check for type param numbers in java 1.6 should not rise error if super methods have type params (IDEA-57338) 2014-06-09 15:32:55 +04:00
Anna Kozlova 784512b713 enum constants access inside enum constant initializers fixed (IDEA-125816) 2014-06-03 11:31:18 +04:00
Anna Kozlova b1b3b1db37 accept intersection types in foreach stmts (IDEA-125800) 2014-06-03 11:31:16 +04:00
Anna Kozlova b159632060 testdata for IDEA-57388 2014-06-02 20:00:33 +04:00
Anna Kozlova 656ce72eb4 testdata for IDEA-67578 2014-06-02 20:00:32 +04:00
Anna Kozlova 88a9ace2c1 old inference: take only EQUALS bounds from sibling param (IDEA-119757) 2014-06-02 20:00:30 +04:00
Anna Kozlova edeb5d21e1 testdata for IDEA-57290 2014-05-31 21:04:56 +04:00
Anna Kozlova b1b3964fee testdata for IDEA-58692 2014-05-31 20:36:05 +04:00
Anna Kozlova af3e41334d testdata for IDEA-24496 2014-05-31 20:36:04 +04:00
Anna Kozlova ae5717690b provide 'place' language level for convertible check to allow types from old libraries to be casted to primitives (IDEA-117684) 2014-05-31 20:36:04 +04:00
Anna Kozlova f55b7ffa8d equality asymmetry fixed (IDEA-118533) 2014-05-31 20:36:03 +04:00
Anna Kozlova fdcb20b740 type distinct prover asymmetry fixed (IDEA-118533) 2014-05-31 20:36:02 +04:00
Anna Kozlova 67daae0c20 leave capture during bound composition of unbounded wildcards (IDEA-125423) 2014-05-30 23:31:16 +04:00
Anna Kozlova 01c9bba9a7 old inference: ignore java 1.6 bug in new versions (IDEA-125744) 2014-05-30 23:31:15 +04:00
Anna Kozlova b7ab465ad9 old inference: choose child type between types in subtypes constraint (IDEA-118536) 2014-05-30 23:31:13 +04:00
Anna Kozlova 506a2cbbbc include anonym prefix in internal canonical text to avoid incompatibility messages with "same" types on both sides 2014-05-22 20:45:58 +04:00
Anna Kozlova 1e48abe578 good code red: nested classes inheritance 2014-05-16 14:59:24 +04:00
Anna Kozlova 2386bed21f testdata for IDEA-24479 2014-05-13 18:34:56 +04:00
Anna Kozlova b32b3332c4 assignment fix for super wildcards (IDEA-125031) 2014-05-13 18:04:55 +04:00
Anna Kozlova 902e51a856 substitute bounds (IDEA-123509) 2014-04-29 18:54:59 +04:00
Anna Kozlova f58394cd59 IDEA-124019 2014-04-29 18:54:56 +04:00
Anna Kozlova 71f8a4af73 IDEA-124352 2014-04-25 14:21:53 +02:00
Anna Kozlova b8fb550a2e IDEA-124271 2014-04-23 20:10:19 +02:00
Anna Kozlova 54ced00cb4 highlight all pairs of methods with same erasures (IDEA-124116) 2014-04-23 16:33:43 +02:00
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