Toshiaki Kameyama
b008e6c9be
SimplifiableCallChainInspection: don't report if suspend function cannot be called correctly
...
#KT-23934 Fixed
2020-09-29 23:58:24 +09:00
Yan Zhulanow
1e9bb00744
Debugger: Disable "missing dependency superclass" diagnostic in evaluator (KT-38659)
2020-09-29 23:58:24 +09:00
Andrei Klunnyi
ddfb86c839
KT-42014 ClassNotFoundException in Android Studio 4.2
...
KotlinCodeHintsPass was removed in 5fe1eaea but later a reference to
it appeared by accident in 50461e61.
2020-09-29 15:32:34 +03:00
Mikhail Zarechenskiy
8ff141357e
as42: move plugin.xml to appropriate resource directy
...
#KT-41930 Fixed
2020-09-29 15:32:34 +03:00
Mikhail Zarechenskiy
11ac5bd32a
as42: Fix test about forgotten bunches
2020-09-29 15:32:34 +03:00
Nikolay Krasko
d83355e4c4
as42: Remove setupGradleSettings usage
2020-09-29 15:32:34 +03:00
Nikolay Krasko
fa9368125f
as42: Remove clearing scratchesMapping in tests
2020-09-29 15:32:33 +03:00
Nikolay Krasko
1dc3cb5978
as42: Fix compilation errors caused by 202 platform
2020-09-29 15:32:33 +03:00
Nikolay Krasko
5ba70b2cbb
as42: Additional fixes for AS42 and 202 platform
2020-09-29 15:32:32 +03:00
Nikolay Krasko
2df030f583
as42: Apply 201 <-> AS41 diff
2020-09-29 15:32:32 +03:00
Andrei Klunnyi
79e5177126
[KTIJ-145] Memory leak detected
2020-09-28 15:21:21 +02:00
Toshiaki Kameyama
330502a0a6
KT-22665 "Create object" quick fix produce wrong code for enum ( #2883 )
...
* "Create object" quick fix: do not suggest for enum
#KT-22665 Fixed
2020-09-28 14:02:10 +02:00
Toshiaki Kameyama
bc580d2fd9
Introduce "Unused result of data class copy" inspection
...
#KT-34121 Fixed
2020-09-25 17:18:41 +02:00
Igor Yakovlev
d2bdab2ef5
[FIR IDE] Add find usages tests for FIR plugin
2020-09-25 17:26:22 +03:00
Igor Yakovlev
d534d92123
[FIR IDE] Implement FIR for KotlinUsageTypeProvider
2020-09-25 17:26:22 +03:00
Toshiaki Kameyama
37ba9eccc4
KT-31553 Complete Statement: Wrong auto-insertion of closing curly brace for a code block ( #2378 )
...
* Complete statement: wrap property initializer by run/when block
#KT-31553 Fixed
2020-09-25 16:04:03 +02:00
Toshiaki Kameyama
14bdcb1e26
"Create enum constant" quick fix: suggest if expected type is Any
...
#KT-22666 Fixed
2020-09-25 15:57:11 +02:00
Toshiaki Kameyama
a2f70dfc3d
KT-41298 "Remove redundant 'with' call" intention works incorrectly with non-local returns and single-expression functions ( #3713 )
...
* Remove redundant 'with' call: remove redundant 'return' keyword
#KT-41298 Fixed
2020-09-25 12:48:31 +02:00
Konstantin Tskhovrebov
8a58ada4cd
Fix version parser for versions without status "1.4-M1-42-IJ2020.1-1".
2020-09-25 12:17:17 +03:00
Roman Golyshev
945edfe987
KT-41859 Place classes after typealiases in DeserializedMemberScope
...
This way, the order in stubs and in deserialized text would be the same
On the next stub version bump, this fix should be reworked: the order
in the `DeserializedMemberScope` should be restored, and the order in
the stubs should be fixed to match the order in `MemberComparator`
^KT-41859 Fixed
2020-09-25 09:03:12 +00:00
Toshiaki Kameyama
17176c00ae
Move lambda out: don't remove block comments
...
#KT-35357 Fixed
2020-09-24 12:05:43 +02:00
Victor Petukhov
ccc9b757c0
Fix failing MPP tests after 25ea3df5ca through registering InferenceCompatibilityCheckerImpl instance
2020-09-24 10:49:33 +03:00
Mads Ager
ac742123fd
[JVM_IR] Generate line numbers in synthetic bridges.
...
The current backend does that for some bridges. We do it consistently
for all bridges.
The line number used differs. For the JVM_IR backend, we use the
line number of the class to which the bridge is added. For the
JVM backend, that does not appear to be the case for bridges
in lambdas. I prefer the line number for a lambda invoke bridge
to be the line for the lambda instead os some surrounding class.
2020-09-24 08:59:48 +02:00
Yan Zhulanow
0ce9003ef7
Parcelize: Add missing dependencies to Parcelize components in tests
2020-09-24 15:50:58 +09:00
Yan Zhulanow
15b2850ee0
Parcelize: Add IDE support for the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +09:00
Ilya Kirillov
347a984ce0
FIR IDE: fix tests compilation
2020-09-23 21:43:58 +03:00
Ilya Kirillov
f36cd28696
FIR IDE: introduce withFir function
2020-09-23 21:43:58 +03:00
Ilya Kirillov
a516264923
FIR IDE: introduce withFirDeclaration function
2020-09-23 21:43:57 +03:00
Ilya Kirillov
ebc2ea59cd
FIR IDE: introduce WeakFirRef for low level
2020-09-23 21:43:57 +03:00
Ilya Kirillov
8ee4c4e047
FIR IDE: introduce scoped fir functions
2020-09-23 21:43:57 +03:00
Ilya Kirillov
e19d2ecc73
FIR IDE: make FirModuleResolveState functions to be internal
2020-09-23 21:43:57 +03:00
Ilya Kirillov
8e41384f6d
FIR IDE: separate LowLevelFirApiFacade from completion
2020-09-23 21:43:56 +03:00
Ilya Kirillov
7cc714c598
FIR IDE: move all public low level api to separate package
2020-09-23 21:43:56 +03:00
Ilya Kirillov
4238fd3842
FIR IDE: fix compilation after rename registerJavaSpecificComponents -> registerJavaSpecificResolveComponents
2020-09-23 21:43:55 +03:00
Ilya Kirillov
a570be4e76
FIR IDE: fix compilation of AbstractFirIdeDiagnosticsCollector.kt
2020-09-23 21:43:55 +03:00
Ilya Kirillov
fa570710ee
FIR IDE: move diagnostic highlighting to separate
...
pass
2020-09-23 21:41:54 +03:00
Ilya Kirillov
04fca93b1e
FIR IDE: fix completion on parenthesized expression
2020-09-23 21:41:52 +03:00
Ilya Kirillov
879cf3b049
FIR IDE: do not fail whole completion on exception in lookup element creation
2020-09-23 21:41:52 +03:00
Ilya Kirillov
e9fb79741a
FIR IDE: fix completion in initializer
2020-09-23 21:41:51 +03:00
Roman Golyshev
1ab6595ae2
FIR Completion: Use name filtering in completion contributor
2020-09-23 21:41:51 +03:00
Roman Golyshev
75d8710bf6
FIR IDE: Add name filtering to scope KtScope and implementations
2020-09-23 21:41:50 +03:00
Roman Golyshev
dc600e3caf
FIR IDE: Fix buildKtType for ConeDefinitelyNotNullType
2020-09-23 21:41:49 +03:00
Ilya Kirillov
74298aae32
FIR IDE: invalidate sessions on exception
2020-09-23 21:41:48 +03:00
Ilya Kirillov
a743b80d17
FIR IDE: reuse up-to-date fir sessions
2020-09-23 21:41:47 +03:00
Ilya Kirillov
22c2d34b14
FIR IDE: add debug info when can not build KtType
2020-09-23 21:41:46 +03:00
Ilya Kirillov
a52262bf97
FIR IDE: run completion resolve under lock
2020-09-23 21:41:45 +03:00
Ilya Kirillov
f1c808384e
FIR IDE: do not resolve symbols by transitive module dependencies
2020-09-23 21:41:44 +03:00
Ilya Kirillov
01875635db
FIR IDE: do not resolve whole firFile in completion
2020-09-23 21:41:44 +03:00
Ilya Kirillov
2cfbfabe04
FIR IDE: do not recreate transformer phases & ScopeSession
2020-09-23 21:41:42 +03:00
Ilya Kirillov
9a99703f24
FIR IDE: implement incremental function analysis
2020-09-23 21:41:41 +03:00