Anton Makeev
aa103fd53c
Merge branch 'master' into amakeev/gradle
...
# Conflicts:
# community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java
GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
2019-05-17 19:11:16 +03:00
Anton Makeev
b54aaf7e4e
IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
...
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Dmitry Batkovich
db60b80cc4
unused symbol inspection: mark method parameter used if method is used as method reference IDEA-210306
...
GitOrigin-RevId: 086a276669ee3dba969f8ea2334af157890594dc
2019-05-17 16:09:16 +03:00
Anna Kozlova
6c0caa5601
overload resolution: ignore static methods from super interface (IDEA-212406)
...
GitOrigin-RevId: b7d5a8433fc6c96aa3d0a0208976dc9bee7cad97
2019-05-13 23:09:11 +03:00
Aleksey Pivovarov
322db66a12
Recover after problematic merge
...
This commit reverts 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
3f5cfd958d9b6b54393c15983ac94f519c37fe61
GitOrigin-RevId: 8fb8ccbb17d0e217a83f265c185a943b0f5a7ed6
2019-05-03 01:52:21 +03:00
Nicolay Mitropolsky
9b850726ee
[uast-groovy] UInjectionHost support
...
GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
2019-05-03 01:47:46 +03:00
Vladimir Plyashkun
c33e69a545
CPP-16098 - Lags during inplace rename typing
...
- reverted some of the changes
GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
2019-05-03 01:47:14 +03:00
Leonid Bushuev
34be4bbf7d
Apply the change from Develar: cleanup - specify UTF_8 charset explicitly
...
GitOrigin-RevId: 3f5cfd958d9b6b54393c15983ac94f519c37fe61
2019-05-03 01:46:11 +03:00
Vladimir Plyashkun
61a3e18b78
Merge branch 'master' into vplyashkun/inplace_rename_lags
...
GitOrigin-RevId: aaecc2a32e4e42de827efb45b8df733874a722e4
2019-05-03 01:41:29 +03:00
Leonid Bushuev
970dc0fe32
Remove unnecessary downcasting
...
GitOrigin-RevId: b91110977db6e5b08d9f4aaffa8496d305d698e2
2019-05-03 01:40:23 +03:00
Vladimir Plyashkun
2d9369d983
CPP-16098 - Lags during inplace rename typing
...
- changed behaviour in safe way by introducing new method to check that particular expression does not depend
on committed PSI
GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
2019-05-03 01:39:50 +03:00
Leonid Bushuev
338ad6db56
SQL code style per dialect: UI: fix indent editor
...
GitOrigin-RevId: 3cb00f5c500523717c42f404b2f38fd1822d6db0
2019-05-03 01:39:18 +03:00
Vladimir Plyashkun
e3ca319824
CPP-16098 - Lags during inplace rename typing
...
- call `commitDocument` explicitly in cases when `calculateQuickResult` can redirect it's calculation to heavy `calculateResult`
GitOrigin-RevId: 41f0c47c57f4528d7d7a25208024ec28bb8c2e12
2019-05-03 01:38:12 +03:00
Leonid Bushuev
dc1a52762e
SQL code style per dialect: UI
...
GitOrigin-RevId: 9b1b3e745d4c8acef5a4a1018714e004e5423519
2019-05-03 01:37:38 +03:00
Vladimir Plyashkun
d712ac9901
CPP-16098 - Lags during inplace rename typing
...
- removed `commitDocument` call when `isQuick` argument is passed
- pass `element` or `null` to `equalsToText` call (since there is not real need to take it for text comparison)
GitOrigin-RevId: 27c5e1a2f484fc56d41dfd210832ae94c9a9b7ab
2019-05-03 01:37:04 +03:00
Leonid Bushuev
9f35a30458
SQL code style per dialect: UI
...
GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
2019-05-03 01:36:24 +03:00
Anna Kozlova
7a03a2be5c
method references overload resolution: skip static methods of interfaces called on inheritor (IDEA-209920)
...
GitOrigin-RevId: 9e7889def32913679fa867f9dd2a80f8d187964e
2019-04-28 19:25:43 +03:00
Anna Kozlova
00fbf3d133
lambda potential compatibility: don't treat array creation as void compatible
...
array creation can't be used as expression statement thus corresponding lambda body is value compatible but not void compatible
GitOrigin-RevId: b0ddccad13c8699de64c4ce3e584214fe08a2353
2019-04-28 14:57:53 +03:00
Anna.Kozlova
d2042376d2
overload resolution: erase type of parameter when site substitutor is raw (IDEA-203450)
...
similar to erasure of call type when inferred substitutor is raw
2018-12-03 15:21:12 +01:00
Anna.Kozlova
b015644d7a
get rid of redundant space in error message
2018-11-21 15:54:15 +01:00
Anna.Kozlova
50b66d9d4b
method reference overloads: second search should provide actual parameter types with 1 offset (IDEA-200218)
2018-10-22 17:02:20 +02:00
Anna.Kozlova
9aa64b30d9
inference: allow child session inference if containing method is not generics
2018-10-19 17:52:43 +02:00
Anna Kozlova
04b7efb5cd
don't calculate substitution for overload resolution applicability checks
2018-01-22 17:07:38 +03:00
Anna.Kozlova
1d6641db80
overload resolution: check method hiding for static only (IDEA-183712)
...
non-static methods should already be covered by same signatures check
2017-12-13 14:10:59 +01:00
Anna.Kozlova
6bb976899e
overload resolution: resolve conflicts with static methods in super interfaces
2017-10-24 10:57:06 +02:00
Anna.Kozlova
14cb19fa39
overload resolution: accept unqualified calls of static interface methods (IDEA-180236)
2017-10-09 15:00:48 +02:00
Anna.Kozlova
dec0d16597
overload resolution: adapt return types before comparing (IDEA-177065)
2017-08-07 18:28:03 +02:00
Anna Kozlova
d31ca80cac
testdata for IDEA-158047
2017-05-10 20:35:34 +03:00
Anna Kozlova
77f4894aae
inference errors: make applicability error thread safe so multiple threads can perform overload resolution of parent method calls independently, save presentable error when substitutor cached only
2017-05-08 12:12:13 +03:00
Anna.Kozlova
b893701408
overload resolution: same signatures should not check return types, etc already processed in hierarchical signatures (IDEA-172129)
2017-04-28 20:23:23 +02:00
Anna.Kozlova
16b0cce4f6
overload resolution: don't skip static method conflicts in classes in hierarchy (IDEA-171617)
2017-04-19 14:01:07 +02:00
Anna.Kozlova
9dfdd49e17
find class or interface to search the method: stop when accessible method is found even with static problem (IDEA-169504)
2017-03-15 10:41:42 +01:00
Anna.Kozlova
af3deb08fe
overload resolution: ensure cleanup both branches of conditional (IDEA-169142)
2017-03-06 15:14:54 +01:00
Anna.Kozlova
8f533a3edc
overload resolution: don't ignore method with incorrect number of parameters when it overrides vararg method (IDEA-165829)
2016-12-27 11:29:37 +01:00
Anna.Kozlova
ccb61093af
overload resolution: don't choose most specific method based on boxing property for vararg position (IDEA-163597)
2016-11-17 17:10:53 +01:00
Anna.Kozlova
3797d3ea1c
ensure ambiguity error presentation doesn't depend on previous calls to getSubstitutor()
2016-10-21 18:07:07 +02:00
Anna Kozlova
f4dae32d7f
overload resolution: prefer candidates with functional formal type if lambda is passed; this way conflict would be resolved and nested error would be shown instead
2016-09-16 08:34:15 +03:00
Anna Kozlova
1bece25b95
inference: when unchecked conversion was applied, resolve variables against raw substitutor
2016-08-17 13:53:02 +03:00
Anna Kozlova
1193a54876
warn about unused parameter if method is used locally as method reference as it could be transformed to equivalent lambda (IDEA-157988)
2016-06-29 20:32:32 +03:00
Anna Kozlova
99fe682d0b
Revert: overload resolution: don't prefer concrete over abstract if the signatures are not override-equivalent ( 2bedb80d81)
2016-05-31 11:44:10 +03:00
Anna Kozlova
2bedb80d81
overload resolution: don't prefer concrete over abstract if the signatures are not override-equivalent
2016-05-30 11:28:01 +03:00
Anna.Kozlova
1bc380f6fd
overload resolution: skip static correctness check during overload resolution (IDEA-154187)
2016-04-06 12:51:57 +02:00
Anna.Kozlova
cc72bd0319
inference: restore probably partial raw inference as this way expected raw types are preserved and Objects won't be inferred in place where raw types were expected
2016-03-30 12:15:25 +02:00
Anna.Kozlova
bf5cd076c1
new inference: avoid inferring partly raw types (in case of unchecked conversion resolve to eq/low bound or null if only upper is present) as these types won't be treated as wildcard parameterized ever (IDEA-150167)
2016-03-24 11:48:06 +01:00
Anna.Kozlova
c5c96608b7
most specific check for proper functional types fixed
2016-03-21 19:35:58 +01:00
Anna.Kozlova
a3aca75748
overload resolution: testdata for java 8 bug
2016-03-21 19:35:58 +01:00
Anna.Kozlova
dcbb728074
testdata for IDEA-153076
2016-03-16 15:35:39 +01:00
Anna Kozlova
7cfcb1bb69
testdata based on IDEA-152768
2016-03-14 17:48:06 +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