Mads Ager
98ceee784a
JVM_IR: More special bridge rewriting.
...
If there is an existing method that will have its argument types
remapped to boxed types, make sure to reflect that in the IR so
that code will be generated for a boxed value instead of a
primitive value.
2019-11-25 17:37:57 +03:00
Ilya Kirillov
f368d9761a
Fix for loop conversion when multiple initializers are present
...
#KT-35074 fixed
2019-11-25 17:01:46 +03:00
Ilya Chernikov
b73625ad9e
Switch main-kts to the updated resolvers infrastructure
2019-11-25 14:46:32 +01:00
Ilya Chernikov
baec10fb40
Update apache ivy version to 2.5.0
...
#KT-34893 fixed
2019-11-25 14:46:32 +01:00
Ilya Chernikov
4234c5ec31
Fix ivy resolver: deps config and maven repos:
...
Transitive dependencies weren't fetched properly in some cases, because of the two problems:
- missing dependency configuration for the root dependency
- using URLResolver for the maven-based (IBiblio) resolvers
Also adding resolver name for easier debugging.
2019-11-25 14:46:32 +01:00
Dmitriy Novozhilov
5e5038416e
Revert "tmp"
...
This reverts commit 3e336913
2019-11-25 16:20:06 +03:00
Dmitriy Novozhilov
3e336913b6
tmp
2019-11-25 14:44:46 +03:00
Dmitriy Novozhilov
4fc554fa9a
[FIR-TEST] Add test with unresolved SAM usage of Comparator
2019-11-25 14:44:46 +03:00
Dmitriy Novozhilov
98af866417
[FIR] Fix stopping in AbstractFirUseSiteMemberScope
2019-11-25 14:44:46 +03:00
Dmitriy Novozhilov
52caa6a58d
[FIR] Don't recreate type resolver in FirSpecificTypeResolverTransformer
2019-11-25 14:44:45 +03:00
Dmitriy Novozhilov
841ba6ea11
[FIR] Add generating of rawBuilder tests for light tree
2019-11-25 14:44:45 +03:00
Dmitriy Novozhilov
43e621530f
[FIR] Add type parameters to FirQualifierExpression
...
It is needed for resolving qualifiers with type arguments
like `Array<String>::class`
2019-11-25 14:44:44 +03:00
Victor Turansky
9330547f87
Gradle 6.0.1 support. Fix Yarn loading progress logging
...
Details - https://github.com/michel-kraemer/gradle-download-task/issues/143
Otherwise - no loading progress log
2019-11-25 13:00:46 +03:00
Pavel Kirpichenkov
4622041706
Update box test for unsigned to signed conversions
...
Updated test checks, that large unsigned numbers are converted to corresponding
negative signed numbers properly. Using unsinged constants instead of signed
in test allows to remove supressed OI error as well as use test with NI.
2019-11-25 12:22:58 +03:00
Yan Zhulanow
076166c22f
Debugger: Generate line numbers for class initializers with a number on the 'init' keyword (KT-16277)
...
Debugger tests not absent as they use the bootstrap version of kotlinc.
Obviously, this change is not present in it yet.
2019-11-25 17:26:31 +09:00
Yan Zhulanow
bebc8974b2
Report 5308947: check module validity before asking for library versions
2019-11-25 17:26:30 +09:00
Yan Zhulanow
cf620cc60d
Debugger: Synchronize "Add field breakpoint" dialog with the platform code
2019-11-25 17:26:30 +09:00
Yan Zhulanow
75b366fc5e
EA-211653: Wrap field breakpoint dialog into a transaction guard
2019-11-25 17:26:30 +09:00
Yan Zhulanow
ffeef6c18d
EA-210460: Use 'safeAllLineLocations()' instead of throwing 'allLineLocations()'
2019-11-25 17:26:30 +09:00
Yan Zhulanow
aaa45425da
EA-210002: handle interruption in case of background inline callable searcher task
2019-11-25 17:26:30 +09:00
Yan Zhulanow
36073ef61e
EA-209923: Add missing read action
2019-11-25 17:26:30 +09:00
Yan Zhulanow
69d5115b89
EA-214241: Remove worthless error reporting
2019-11-25 17:26:29 +09:00
Yan Zhulanow
16c4b0e458
EA-210823: Fix AIE in breakpoint applicability test
2019-11-25 17:26:29 +09:00
Yan Zhulanow
ab06f772fc
EA-209419: Fix read action requirement in Light constant evaluator
2019-11-25 17:26:29 +09:00
Yan Zhulanow
2983c87212
EA-215308: Fix unsafe check casts in template entry handling
2019-11-25 17:26:29 +09:00
Yan Zhulanow
3534d4af36
EA-215324: Fix "Module already disposed" in Scratch combo-box
2019-11-25 17:26:29 +09:00
Yan Zhulanow
3d17af0ada
EA-215375: Check range, not rangeMarker with nullable 'range' inside
2019-11-25 17:26:29 +09:00
Yan Zhulanow
89bd3b8767
EA-215872: Check text range validity before 'getText(range)'
2019-11-25 17:26:28 +09:00
Yan Zhulanow
49bcb103ef
EA-216005: Do not request KotlinFacetSettingsProvider for dead projects
2019-11-25 17:26:28 +09:00
Yan Zhulanow
f91a84872a
EA-216299: fix SIOOBE in completion
2019-11-25 17:26:28 +09:00
Yan Zhulanow
f75288b480
EA-216333: check PsiElement validity before light class generation
2019-11-25 17:26:28 +09:00
Yan Zhulanow
59296d6a6b
EA-217068: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
e12f17d5dc
EA-217069: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
54203100bc
EA-217072: Add missing read action
2019-11-25 17:26:28 +09:00
Yan Zhulanow
6a4b658ad4
EA-217153: Add line count check
2019-11-25 17:26:27 +09:00
Yan Zhulanow
ab0f841642
Debugger: Provide fixed implementation of 'toString()' for lambdas (KT-32691)
2019-11-25 17:26:27 +09:00
Yan Zhulanow
82a1750d26
Debugger: Forbid 'Nothing' constructor calls in evaluated code (KT-33093)
2019-11-25 17:26:27 +09:00
Pavel Kirpichenkov
55b3637f03
Fix case of inner object usage in missing supertypes checker
...
FakeCallableDescriptorForObject instance, which is not ConstructorDescriptor,
is checked with call checkers when object's contents are being used.
Checker of missing supertypes should not be run against this fake descriptor.
Object's members belong to separate member scope, so their resolution doesn't
force containing class' supertypes evaluation. I.e. object's methods
may work fine even if some supertypes of containing class are missing.
2019-11-25 10:57:52 +03:00
Mark Punzalan
5afab1ac2b
[FIR] FIR2IR: Populate calls with type arguments and function type
...
parameters with bounds/supertypes.
2019-11-25 09:37:47 +03:00
Dmitriy Dolovov
58dd9a6004
Fix AWT freeze in KotlinNativeABICompatibilityChecker (part 2)
...
Issue #KT-35052
2019-11-25 09:07:09 +07:00
Dmitriy Dolovov
0747a4d9b7
Fix AWT freeze in KotlinNativeABICompatibilityChecker
...
Issue #KT-35052
2019-11-25 09:07:02 +07:00
Vladimir Dolzhenko
e321c9e4e7
Fix diagnostics calculations for incremental analysis
2019-11-23 23:36:49 +01:00
Vladimir Dolzhenko
c7c512d55e
Merge pull request #2815 from t-kameyama/KT-35022
...
Remove `const` modifier on "change to var" quickfix
#KT-35022 Fixed
2019-11-23 13:42:00 +01:00
Vladimir Dolzhenko
d599322503
Calculate method parameter hint info in updateParameterInfo method (with a progress till 201)
...
Fixed #EA-216268
2019-11-23 09:24:14 +01:00
Svyatoslav Kuzmich
84757964bb
Advance bootstrap to 1.3.70-dev-1806
...
Due to updated K/JS klib ABI
Add dependency of KotlinCoverageExtension to idea test classpath because of a new check introduced in 1806.
(cherry picked from commit bffbe89f53 )
2019-11-22 22:12:39 +03:00
Nikolay Krasko
73a152ccc7
Re-mute inspection tests in AS34 (KT-32856)
2019-11-22 22:12:39 +03:00
Nikolay Krasko
e49d7c86ff
Re-mute move refactoring tests (KT-34106)
2019-11-22 22:12:38 +03:00
Nikolay Krasko
0ae677e945
Re-mute checker tests (KT-34105)
2019-11-22 22:12:38 +03:00
Nikolay Krasko
394a812329
Re-mute completion tests (KT-32919)
2019-11-22 22:12:37 +03:00
Nikolay Krasko
6797fb476c
Support auto-mute from file for database with mutes
2019-11-22 22:12:37 +03:00