Commit Graph

63839 Commits

Author SHA1 Message Date
Florian Kistner b7e270f1c1 Add listener for module descriptor invalidation 2020-04-06 14:01:06 +02:00
Vyacheslav Gerasimov 4bd2d08b32 Build: Keep writePluginVersion task until TeamCity usages removed 2020-04-06 14:06:16 +03:00
Vyacheslav Gerasimov d88134069d Build: Move writing ide plugin version to the idea module 2020-04-06 14:06:16 +03:00
Vyacheslav Gerasimov f3acb8dde2 Build: Upgrade gradle enterprise plugin to 3.2 2020-04-06 14:06:15 +03:00
Vyacheslav Gerasimov bea3816292 Add JPS Generate All Tests with correct line separators as file
There is no way to pass \n programmatically with idea ext plugin
2020-04-06 14:06:15 +03:00
Vyacheslav Gerasimov ca0f59dbc4 Use linux endings in generated tests 2020-04-06 14:06:15 +03:00
Mikhail Glukhikh 59dd57dcf7 Unmute working test from FirReferenceResolve group 2020-04-06 13:41:17 +03:00
Vladimir Dolzhenko dd0bb9abf1 Do not resolve references pasted into the same origin
#KT-37993 Fixed
2020-04-06 09:53:24 +00:00
Dmitry Gridin 423a9dd70d i18n: make text from intention lazy
#KT-37483
2020-04-06 15:02:40 +07:00
Anton Yalyshev f451cb93da Fix collectors name to match it to the whitelist 2020-04-05 20:53:21 +03:00
Anton Yalyshev 947e181b90 Remove refactorings logging as now it's done in the platform collector 2020-04-05 20:53:21 +03:00
Victor Turansky aa12d4cd0c [Gradle, JS] Karma configuration. Remove launcher duplication 2020-04-05 07:56:08 +03:00
Vladimir Dolzhenko e73a573885 Fetch analysis results if it is available
The general idea is to try to fetch a full analysis if it is existed in PerFileAnalysisCache instead of go to ResolveElementCache and do analysis there. Do not perform analysis if it is not in PerFileAnalysisCache.

#KT-37467 Fixed
2020-04-04 22:36:08 +02:00
Dmitry Gridin 3742fe4871 i18n: fix some tests
#KT-37483
2020-04-04 10:23:24 +07:00
Dmitry Gridin dc51a268aa ReplaceWithAnnotationAnalyzer: should throw ControlFlowException 2020-04-04 10:08:45 +07:00
Dmitry Petrov d5ace43614 KT-37986 Force boxing of inline class returned from function reference
KT-37998 Provide KotlinType for safe call
2020-04-04 01:32:45 +03:00
pyos 5ed845d0b4 JVM_IR: reuse same bodies for suspend funs and $$forInline versions 2020-04-03 19:51:45 +02:00
pyos 8945d5a0df JVM_IR: remove $$forInline checks from ExpressionCodegen 2020-04-03 19:51:45 +02:00
Dmitry Gridin de1fa40c7e CodeInliner: fix KNPE
#KT-22733 Fixed
#KT-36225 Fixed
#EA-206694 Fixed
2020-04-04 00:46:15 +07:00
Ilya Goncharov 12379cb91c [Gradle, JS] Bump NPM versions
#KT-37988 fixed
2020-04-03 20:38:12 +03:00
Ilya Goncharov 187ab5f393 [Gradle, JS] KT-37984 Add additional Chrome and Firefox based browsers
#KT-37984 fixed
2020-04-03 20:37:20 +03:00
Ilya Goncharov 50e6f6e07e [Gradle, JS] Remove hard test 2020-04-03 19:50:13 +03:00
Ilya Gorbunov 8194652793 Allow placing Suppress on a type parameter
#KT-12448
2020-04-03 19:36:37 +03:00
Ilya Gorbunov fcada0a5e3 Make use of contracts of time measurement functions 2020-04-03 19:36:36 +03:00
Nikolay Krasko d71410bfb5 Update version of properties-maven-plugin to 1.0.0 2020-04-03 19:31:32 +03:00
Nikolay Krasko b89a7325b2 Remove https://dl.bintray.com/kotlin/kotlin-eap repository from gradle tests 2020-04-03 19:31:31 +03:00
Nikolay Krasko 01e10324f0 Eliminate 1.3.60-eap-76 usages from tests 2020-04-03 19:31:31 +03:00
Dmitry Petrov a422a12407 Minor: update testData
In BridgeTest::testFakeOverrideMisleadingImplementation,
order of generated bridges has changed slightly
(but the overall set of generated bridges remains the same).
2020-04-03 18:31:39 +03:00
Dmitry Gridin 7938a992dd i18n: make text from intention lazy
#KT-37483
2020-04-03 22:18:45 +07:00
Dmitry Gridin 25dfc6dd63 i18n: make text from intention lazy
#KT-37483
2020-04-03 22:06:00 +07:00
Roman Golyshev d8ca21d728 Add KotlinContextFeatureProvider to the plugin.xml for 201 platform
- Without it we do not have `file_type` and `plugin_version` features in
the statistics from EAP builds
- See KT-36313
2020-04-03 17:33:30 +03:00
Mikhail Glukhikh 75283c74ac [FIR] Generate type arguments for variable assignments 2020-04-03 17:21:39 +03:00
Mikhail Glukhikh d7460d47de [FIR] Generate dispatch & extension receivers for variable assignments 2020-04-03 17:21:21 +03:00
Alexander Udalov 774fc32f3e JVM IR: support optimized callable reference superclasses
See KT-27362.

 #KT-37334 Fixed
2020-04-03 15:37:56 +02:00
Alexander Udalov bb1a12e28e JVM IR: use correct owner for callable references in optimized multifile classes
The owner should always be the facade class, because the part class is
package-private and will be inaccessible from other package.

Note that in the old backend, function references already do have the
facade as the owner correctly, but property references don't, this is
reported as KT-37972.
2020-04-03 15:37:56 +02:00
Alexander Udalov 78467792d5 JVM IR: rename CallableReferenceLowering -> FunctionReferenceLowering
Property references are handled by PropertyReferenceLowering.
2020-04-03 15:37:56 +02:00
Dmitriy Novozhilov 238488d4fb [FIR] Fix collection subgraphs to drop from delegate calls 2020-04-03 15:22:58 +03:00
Mikhail Glukhikh b21da3910a [FIR] Set type arguments also in provideDelegate property reference 2020-04-03 13:42:06 +03:00
Mikhail Glukhikh 8bf4ec66a9 [FIR] Fix receiver type order in delegate property reference 2020-04-03 13:34:46 +03:00
Mikhail Glukhikh f374c36cd2 [FIR2IR] Generate property extension receiver references properly 2020-04-03 13:31:15 +03:00
Mikhail Glukhikh 4234438d8d [FIR] Generate thisRef more correctly for extension property 2020-04-03 13:30:55 +03:00
Mikhail Glukhikh f3f7bf70f6 [FIR] Set delegate field receiver properly 2020-04-03 13:29:55 +03:00
Mikhail Glukhikh 036b6c63f6 [FIR] During resolve, set correctly property reference type in delegate 2020-04-03 13:18:47 +03:00
Mikhail Glukhikh 58e00400f1 [FIR2IR] Support PROPERTY_REFERENCE_FROM_DELEGATE origin 2020-04-03 13:05:13 +03:00
Mikhail Glukhikh 5f8fadb220 [FIR2IR] Remove GET_PROPERTY origin from delegate field reads 2020-04-03 13:04:56 +03:00
Jinseong Jeon 94749855b9 FIR: fix visibility extension for fake override. 2020-04-03 13:03:50 +03:00
Leonid Startsev 0054c22ef2 Use correct return type for serializers
from runtime library.
If used unsubstituted, they cause
e: java.lang.IllegalArgumentException: Unbound type parameters are forbidden
because type parameter T from e.g. PolymorphicSerializer<T> leaked outside.
2020-04-03 12:46:44 +03:00
Igor Yakovlev 75c4607e57 Rename of KotlinQuickDocumentationProvider to KotlinDocumentationProvider 2020-04-03 12:39:03 +03:00
Igor Yakovlev a71fd0e6d9 Support for showing rendered doc comments in editor
Fixed #KT-37361
2020-04-03 12:38:51 +03:00
Dmitriy Novozhilov d620802a18 [FIR] Add equals and hashCode to ConeCapturedType 2020-04-03 10:09:13 +03:00