Commit Graph
2237 Commits
Author SHA1 Message Date
Anna.Kozlova ae59643c87 testdata for IDEA-151214 2016-03-18 15:50:22 +01:00
Anna.Kozlova 395c55df75 testdata for IDEA-150754 2016-03-18 15:50:22 +01:00
Anna.Kozlova 034012ae4e overload resolution: clear inference errors from nested calls when top level expression is abadoned as non-applicable (IDEA-150718; IDEA-153222) 2016-03-18 15:50:22 +01:00
Anna.Kozlova 53d3aa770c inference: don't include constraints to resolve if input bounds have proper instantiation but depends on the output of another constraints (IDEA-153164) 2016-03-17 21:25:32 +01:00
Anna.Kozlova ec5245ed00 redundant cast: recapture wildcards for non-physical elements (IDEA-153166) 2016-03-17 18:04:01 +01:00
Anna.Kozlova cdc7349caa unchecked warnings: don't warn about generics array creation if arg of array type is found (IDEA-153122) 2016-03-17 18:04:01 +01:00
Roman Shevchenko e4a0f4548b [java] allows up to 5 unused variables per scope 2016-03-16 19:02:04 +01:00
Anna.Kozlova 15d6e64813 lambda -> method ref: compare denotable types (IDEA-153054) 2016-03-16 15:35:39 +01:00
Anna.Kozlova dcbb728074 testdata for IDEA-153076 2016-03-16 15:35:39 +01:00
Anna Kozlova 0c583feae6 show static import suggestion: ensure normal inference process for method candidate (IDEA-152985) 2016-03-15 19:09:04 +01:00
Anna Kozlova 65ebda0fff SOE with recursive type parameter dependencies 2016-03-15 13:31:13 +01:00
Anna Kozlova 1aa1c9a921 non-static fields should not be available in static context even if they are compile time constants (IDEA-150030) 2016-03-14 21:34:56 +01:00
Anna Kozlova c00d3d7371 revert (IDEA-152685) 2016-03-14 17:48:06 +01:00
Anna Kozlova 7cfcb1bb69 testdata based on IDEA-152768 2016-03-14 17:48:06 +01:00
Anna Kozlova a54e0ed47e copy to final: effectifely final is enough fot java 8 (IDEA-152934); change wording 2016-03-14 17:48:06 +01:00
Anna Kozlova e31a812438 inference: unchecked warning in type params bounds (IDEA-152758) 2016-03-14 17:48:06 +01:00
Anna Kozlova 23df4bf2a1 redundant cast: open capture to compare old and new result types 2016-03-11 10:51:37 +01:00
Anna Kozlova 320904a20f redundant cast: compare base types for anonymous classes 2016-03-11 10:51:37 +01:00
Anna Kozlova ea84b25cc5 unrelated defaults: ignore type parameters check for abstract methods only, leave as is for defaults 2016-03-11 10:04:22 +01:00
Anna Kozlova 9675e0248a unrelated defaults: don't check type parameters 2016-03-11 09:38:32 +01:00
Roman Shevchenko 3b35be0963 Merge remote-tracking branch 'origin/master' 2016-03-09 22:05:14 +01:00
Anna Kozlova 355ee67f27 generify fix for unchecked assignments (IDEA-152658) 2016-03-09 14:23:53 +01:00
Anna Kozlova 119449501b testdata for IDEA-152659 2016-03-09 14:23:53 +01:00
Anna Kozlova db215203e0 inference for non-poly expressions: isAssignable already contains loose context inside, don't allow any additional conversions (IDEA-152694) 2016-03-09 14:23:53 +01:00
Anna Kozlova 5b8e459686 lambda: proceed c-like arrays declarations in parameters for lambda with excplicit type declarations (IDEA-152690) 2016-03-09 14:23:53 +01:00
Roman Shevchenko 77a63a0eea [java] @see tag ref verification (IDEA-97635) 2016-03-09 13:28:11 +01:00
Roman Shevchenko 55af2c9fdd Cleanup (test data corrected) 2016-03-09 11:24:07 +01:00
Roman Shevchenko f759a56f8f [tests] javadoc highlighting tests merger and cleanup 2016-03-07 17:24:51 +01:00
Anna Kozlova 8ff49ddc39 inference: proper exceptions thrown checks (IDEA-152577) 2016-03-04 17:00:37 +01:00
Anna Kozlova 46c29366cb additional testdata (following IDEA-CR-8743) 2016-03-03 15:22:36 +01:00
Anna Kozlova 480658c12e unrelated defaults: adjust pattern in current class to super class substitution 2016-03-03 13:31:40 +01:00
Anna Kozlova 6c5fc69ae9 inference: don't check bounds for variables which may depend on another variable with inconsistency bounds 2016-03-03 13:31:40 +01:00
Anna Kozlova 1e764c9961 inference: skip lambda content and all its dependants when lambda type parameter type is calculated 2016-03-03 11:39:53 +01:00
Anna Kozlova eb9b80c2d5 field can be local: restrict check for only super/this call (IDEA-152331) 2016-02-29 20:52:47 +01:00
Anna Kozlova 0e606219ba testdata for IDEA-152332 2016-02-29 20:52:47 +01:00
Anna Kozlova 3d1cb1b7e7 missed delegate in prioritized intentions added (IDEA-152103) 2016-02-26 21:13:09 +01:00
Anna Kozlova 1712529e42 testdata for IDEA-152179 2016-02-26 16:06:22 +01:00
Anna Kozlova cbd7853f19 fix for default overriding abstract: missed substitutor 2016-02-26 16:06:22 +01:00
peter b3a7925265 a test for EA-78631 - IAE: LightVariableBuilder.<init> (IDEA-CR-8189) 2016-02-26 15:19:04 +01:00
Anna Kozlova 3434d9cc47 method reference: capture wildcards of new expressions (IDEA-152115) 2016-02-25 19:42:52 +01:00
Anna Kozlova 6e9234b115 redundant casts: don't treat cast as redundant if functional expression get more specific type (IDEA-152093) 2016-02-24 21:05:13 +01:00
Anna Kozlova c6d354b962 replace with collect: collapse lambda to method reference in filters (IDEA-151491) 2016-02-24 13:12:24 +01:00
Anna Kozlova f8e59f5965 not a statement -> declaration not allowed here (IDEA-152090) 2016-02-24 13:12:24 +01:00
Anna Kozlova 9332f88d1a anonymous -> lambda: skip fields with qualified refs to another fields of the same class (IDEA-151954) 2016-02-22 20:05:58 +01:00
Anna Kozlova 930df16f98 inference: propagate variable renames through the call hierarchy; calculate tooltips in tests (IDEA-151948) 2016-02-22 20:05:58 +01:00
Anna Kozlova f09865ef1d convert to diamonds: raise a problem if containing method can't be resolved (IDEA-151540) 2016-02-22 15:59:38 +01:00
Anna Kozlova f9d49fa1f4 convert to diamonds: take care of java 8 inference, check on non-physical elements (IDEA-151559) 2016-02-22 15:59:38 +01:00
Anna Kozlova 8b16402ca3 overload resolution: proceed with additional constraints when qualifier type is calculated (IDEA-151409) 2016-02-19 19:18:43 +01:00
Anna Kozlova 779d43a6df testdata for IDEA-151823 2016-02-19 19:18:43 +01:00
Anna Kozlova ef90033b1a testdata 2016-02-18 19:47:21 +01:00