Vladimir Ilmov
9719391c82
(PerformanceTest) improvements in profiler snapshots
...
support for typing per inspection tests
gradle arguments fixed to allow running tracing from cli
Profiler disabled for warmup phases.
relates to #KT-38653
2020-06-08 09:05:24 +02:00
Jinseong Jeon
0d2552b0b6
FIR: record and serialize the modifier "fun" for functional interface
2020-06-08 09:42:32 +03:00
Abduqodiri Qurbonzoda
6a2fed33d3
Deprecate old CharArray to String conversion api #KT-31343
2020-06-08 04:12:28 +03:00
Vladimir Dolzhenko
19855c5bd5
Tweaked performance-tests stats output
2020-06-07 23:03:04 +02:00
Pavel Kirpichenkov
8216e5cd72
Avoid persisting default anchor configuration
...
#KT-24309 In Progress
2020-06-07 21:24:45 +03:00
Yunir Salimzyanov
b8cbfcbe7e
Revert "Add temporary fixMeExtensions to pass test on extensions check"
...
KTI-267
2020-06-07 10:49:55 +03:00
Yunir Salimzyanov
571cab305c
Cleanup as35 patchset logic (KTI-267)
2020-06-07 10:49:55 +03:00
Yunir Salimzyanov
dce19b0ace
Cleanup 191 patchset logic (KTI-267)
2020-06-07 10:49:55 +03:00
Abduqodiri Qurbonzoda
820353ee0e
Promote scanReduce deprecation level to error
2020-06-07 10:05:40 +03:00
Abduqodiri Qurbonzoda
4e820edd1f
Promote randomOrNull, reduceOrNull, scan to stable
2020-06-07 10:05:38 +03:00
Abduqodiri Qurbonzoda
094dbf4c2d
Remove experimental status from Array.associateWith
2020-06-07 10:05:36 +03:00
Vladimir Ilmov
db0788c68f
(LightClass) KotlinShortNamesCacheTest fix for methods, referenced from companions and classes
2020-06-06 23:48:15 +02:00
Vladimir Ilmov
8f00344191
(UnusedSymbolInspection) optimized path for data-classes
2020-06-06 23:48:15 +02:00
Vladimir Dolzhenko
0f73cdeccb
Add ability to skip stats for performance tests if there is a custom stats name
2020-06-06 22:02:30 +02:00
Anton Bannykh
bd2a0563ad
JS: fix explicit cross-module SAM constructor calls
2020-06-06 13:20:37 +03:00
Ilya Muradyan
489290263f
Add info about the end of range in scripting REPL compiler messages
2020-06-05 21:58:28 +02:00
Ilya Chernikov
5e33612238
Extract interface from CompilerMessageLocation to ease extension
...
The CompilerMessageLocation is an implicit part of the binary daemon
protocol so changing it breaks compatibility with older daemons.
This change allows to extend location for non-daemon uses without
breaking the binary protocol.
2020-06-05 21:58:27 +02:00
Ilmir Usmanov
f1906bc966
Minor. Update test
2020-06-05 21:55:34 +02:00
Ilmir Usmanov
f0006f2405
Minor. Add regression test
...
#KT-39374 Fixed
2020-06-05 21:30:24 +02:00
Andrei Klunnyi
a3c881da59
KT-38027 Support Code Vision feature in Kotlin // experimental status
...
Feature received "experimental" status due to the low performance.
The root cause is slow find-usages functionality the feature is based
on. Once the later is improved Code-Vision should be revisited.
Previous commit of KT-38027 series contains production ready state.
To launch performance check again one needs to enable Code Vision in
AbstractPerformanceProjectsTest.setUp() with the following fun:
private fun enabledCodeVision() {
val codeVisionProvider = KotlinCodeVisionProvider()
val settings = codeVisionProvider.createSettings().apply {
showUsages = true
showInheritors = true
}
InlayHintsSettings.instance().storeSettings(codeVisionProvider.key,
KotlinLanguage.INSTANCE, settings)
}
2020-06-05 19:15:38 +02:00
Andrei Klunnyi
b08f501aac
KT-38027 Support Code Vision feature in Kotlin
2020-06-05 19:15:34 +02:00
Roman Golyshev
4c8f9e4e06
KT-39311 Fix fix.change.package.family bundle message
...
- ^KT-39311 Fixed
2020-06-05 19:37:35 +03:00
Svyatoslav Scherbina
46caf27e70
Add "Remove annotation" quickfix for @Throws override mismatch
2020-06-05 19:07:56 +03:00
Svyatoslav Scherbina
6461c1b4f1
Add "Remove annotation" quickfix for empty @Throws
2020-06-05 19:07:54 +03:00
Svyatoslav Scherbina
b7a08494ae
Add quickfix for adding CancellableException to @Throws suspend fun
2020-06-05 19:07:52 +03:00
Svyatoslav Scherbina
290a824107
Add basic support for Native in idea/testdata/multiModuleQuickFix
2020-06-05 19:07:50 +03:00
Abduqodiri Qurbonzoda
46297645a4
Promote String <-> utf8 and CharArray conversions to stable
2020-06-05 18:41:06 +03:00
simon.ogorodnik
ab02381a83
[FIR] Make overriding generic callables independent of TP bounds order
2020-06-05 17:46:35 +03:00
simon.ogorodnik
2287435740
[FIR] KT-39033: Fix generic property override detection
...
#KT-39033 Fixed
2020-06-05 17:46:35 +03:00
Toshiaki Kameyama
e4a1c8dcef
Anonymous function to lambda: add lambda parameter if type parameter is used, even if parameter is unused
...
#KT-39393 Fixed
2020-06-05 17:32:35 +03:00
Roman Artemev
311b2d7969
[PLUGIN API] Make context provide information about target platform
2020-06-05 17:14:33 +03:00
Jinseong Jeon
89c87f941f
FIR: consider the absence of type arguments when constructing GetClassCall type
2020-06-05 17:00:17 +03:00
Mikhail Zarechenskiy
a086d9f7df
Update forgotten FIR test
2020-06-05 16:30:09 +03:00
Mikhail Zarechenskiy
6c5806f971
Add test for obsolete issue
...
#KT-38161 Obsolete
2020-06-05 16:30:08 +03:00
Roman Golyshev
f9b3daabd1
Change testData for ShortenRefsTestGenerated to not use sql package
...
- Those packages are missing in the mockJdk 1.8 in intellij repository,
and it leads to those tests failing in kotlin-ide repository
- Test in `ShortenRefsTestGenerated` do not fail, but they are working
for the wrong reason (they do not shorten unresolved references)
2020-06-05 16:03:51 +03:00
Roman Golyshev
7d662bf5d1
Change testData for IntentionsTestGenerated to avoid using javax and sql packages
...
- Those packages are missing in the mockJdk 1.8 in intellij repository,
and it leads to those tests failing in kotlin-ide repository
2020-06-05 16:03:51 +03:00
Mikhail Zarechenskiy
22b558110d
Don't apply Unit-conversion for expressions that return Nothing type
2020-06-05 15:59:31 +03:00
Vladimir Ilmov
3634cbe3cb
(LightClasses) resolve of annotations fast-path
2020-06-05 13:27:10 +02:00
Vladimir Ilmov
991f12bd73
(LightClasses) while looking for accessors we expect them to be taken from single class
2020-06-05 13:27:09 +02:00
Vladimir Ilmov
c0144d2161
(LightClasses) minor improvement in annotation order check
2020-06-05 13:27:09 +02:00
Dmitry Petrov
4e7901b807
Bootstrap: 1.4.20-dev-117
2020-06-05 14:12:13 +03:00
Mikhail Zarechenskiy
fb812301b2
Add test to preserve behaviour
...
It's important to have ambiguity in these cases to introduce overload
resolution by suspend-modifier without breaking changes in future
Relates to #KT-23610
2020-06-05 14:07:08 +03:00
Mikhail Zarechenskiy
e72401c5f4
Don't allow coercing receivers from signed to unsigned constants
2020-06-05 13:24:22 +03:00
Mikhail Zarechenskiy
bfa648972f
Introduce call checker for Unit-conversions
2020-06-05 13:24:21 +03:00
Mikhail Zarechenskiy
6b0a803d14
Allow suspend-conversion for callable references as part of adaptation
2020-06-05 13:24:21 +03:00
Mikhail Zarechenskiy
6b58be377e
Fix chained conversions for subtypes of functional types
2020-06-05 13:24:20 +03:00
Mikhail Zarechenskiy
71cbe97688
Introduce Unit-conversions for simple arguments
2020-06-05 13:24:20 +03:00
Mikhail Zarechenskiy
f08a45f2d4
Refactoring: rename files to avoid "util" suffixes
2020-06-05 13:24:19 +03:00
Mikhail Zarechenskiy
a4af833d55
Narrow down the range for compatibility warning to callee expression
2020-06-05 13:24:19 +03:00
Mikhail Zarechenskiy
4bd622c1c5
Refactoring: rename method to make it more specific
2020-06-05 13:24:18 +03:00