Commit Graph

62381 Commits

Author SHA1 Message Date
kovalp 86f9cb6eef Adds AdditionalExtractableAnalyser EP.
Adds annotations to ExtractableCodeDescriptor.
Adds functionality of adding annotations to KtPsiFactory.CallableBuilder
2020-02-28 12:38:09 +07:00
Ilya Gorbunov b53cb5cb4c Cover with a test current Double/Float companion values access 2020-02-28 01:26:56 +03:00
Vladimir Dolzhenko 1f47c6d54f Add missed calcHashCode for ModuleSourceScope subclasses 2020-02-27 21:17:25 +01:00
pyos 035cc57cf4 JVM_IR: don't remap current method signature when detecting clashes
TODO: don't repeatedly map signatures of inherited functions either.
2020-02-27 22:17:19 +03:00
Dmitry Petrov ad0070ed8a KT-37059 Support 'String?.plus(Any?)' in JVM_IR 2020-02-27 22:13:32 +03:00
simon.ogorodnik f9483b1f4f [FIR] KT-37027: Add 'out' projection to vararg elements 2020-02-27 19:07:17 +03:00
simon.ogorodnik f405b3f827 [FIR] Reorganize ConeKotlinTypeProjection hierarchy 2020-02-27 19:07:16 +03:00
simon.ogorodnik 7c4f59dfcb [FIR] KT-37009: Fix loss of bound smart-cast due to synthetic removal 2020-02-27 19:07:16 +03:00
simon.ogorodnik ec936b7286 [FIR] Setup FIR tests configuration 2020-02-27 19:07:16 +03:00
Denis Zharkov fbf4abf0cf FIR: Unignore FIR2IR test 2020-02-27 19:01:32 +03:00
Denis Zharkov 53454a783c Fix project compilation 2020-02-27 18:54:26 +03:00
Denis Zharkov 8fca343ef0 FIR: Support FirComparisonOperator in Fir2Ir
^KT-31163 Fixed
2020-02-27 18:21:34 +03:00
Denis Zharkov 434444cd69 FIR: Support FirComparisonOperator in body transformers and DFA
^KT-31163 In Progress
2020-02-27 18:21:34 +03:00
Denis Zharkov c3aed433ae FIR: Support FirComparisonOperator in builders
^KT-31163 In Progress
2020-02-27 18:21:34 +03:00
Denis Zharkov 80b7fbd07a FIR: Add new nodes kind for comparison operator
^KT-31163 In Progress
2020-02-27 18:21:34 +03:00
Svyatoslav Kuzmich 3ecee5c7cd [JS IR BE] Implement kotlin.js.jsTypeOf as intrinsics 2020-02-27 16:54:55 +03:00
Svyatoslav Kuzmich dff7d7b7b9 [PSI2IR] Patch parents before referenceExpectsForUsedActuals
There were some ADAPTER_FOR_CALLABLE_REFERENCE functions with
uninitialized parents at this point.
2020-02-27 16:54:55 +03:00
Svyatoslav Kuzmich 1e02fa3db9 [JS IR BE] Create temporary variables with wrapped descriptors. 2020-02-27 16:54:55 +03:00
Svyatoslav Kuzmich 8877bac873 [JS IR BE] Don't fail typeOf lowering on reified type parameters. 2020-02-27 16:54:55 +03:00
Svyatoslav Kuzmich b359bf1859 [JS IR BE] Stop checking mangling for klib-to-js compilation.
It it broken.
2020-02-27 16:54:55 +03:00
Svyatoslav Kuzmich cd80eced32 [JS IR BE] Use fresh name for external JsModule declarations. 2020-02-27 16:54:55 +03:00
nataliya.valtman 5c6f452c10 Revert "add cleanup dependencies tasks for buildSrc"
This reverts commit 8a8536f8
2020-02-27 15:23:47 +03:00
Anton Bannykh e7816b4ec2 JS: support callable references with vararg and default parameters conversion 2020-02-27 15:12:49 +03:00
Dmitriy Novozhilov f6a23ea441 [FIR] Add infrastructure for call checkers 2020-02-27 15:11:10 +03:00
Dmitriy Novozhilov 9cee2962db [FIR] Add more nodes for declaration checkers 2020-02-27 15:11:09 +03:00
Nikita Skvortsov 04424a1ec3 Reduce UI freezes by preparing affected Gradle project files lists in advance, once per event. isRelevant() method is a hotspot, as it is called for each file in bulk VFS event 2020-02-27 15:01:34 +03:00
Mikhael Bogdanov a9e03937a3 Minor. Update tests to support them on Android 2020-02-27 12:28:19 +01:00
nataliya.valtman 8a8536f8ae add cleanup dependencies tasks for buildSrc
change embedded kotlin version to bootstrap for buildSrc
2020-02-27 13:55:58 +03:00
Dmitry Petrov ea7b5827ab Minor: update testData for bytecode listing tests 2020-02-27 13:36:24 +03:00
Dmitry Gridin 5827be4182 Tests: fix test for AS 3.6 2020-02-27 15:39:27 +07:00
Dmitriy Dolovov ca3c72c143 IDE perf tests for Kotlin/Native projects
Issue #MMPP-201
2020-02-27 15:23:41 +07:00
Vladimir Ilmov f5e6001d82 Registry key to show hidden variables in debugger. 2020-02-27 08:59:08 +01:00
Abduqodiri Qurbonzoda e19c0c9768 Update idea-completion testData after introducing vararg maxOf/minOf 2020-02-27 02:24:49 +03:00
Valentin Kipyatkov 12bf8a44e7 Minor changes after code review 2020-02-26 22:57:35 +01:00
Valentin Kipyatkov b9a9000569 Suggested Rename and Change Signature implementation for Kotlin 2020-02-26 22:57:34 +01:00
Vyacheslav Karpukhin a01b840eab Android Import: Search for Android SDK using public API instead of reflection 2020-02-26 19:03:48 +01:00
Dmitriy Dolovov ec23c25286 [Commonizer] Friendly displaying commonized KLIBs in IDE
Issue #MMPP-195
2020-02-27 00:35:03 +07:00
Anton Bannykh 23e218396e JS: support SAM conversion
The SAM adapter is generate on declaration site. This is different
from the JVM approach.

`external fun interface` is banned for now.

Reusing interface declaration for the adapter is a hack which
reduces code size and makes importing/exporting the adapter
effortless.
2020-02-26 18:57:11 +03:00
Anton Bannykh 2742e643c1 JS: prohibit external fun interface 2020-02-26 18:57:11 +03:00
Anton Bannykh f20ed39b92 Fix a typo in an error message 2020-02-26 18:57:11 +03:00
Anton Bannykh a01e66a618 Run IrJsTypeScriptExportTestGenerated tests with jsIrTest instead of jsTest 2020-02-26 18:57:11 +03:00
Kristoffer Andersen c1d350f8f3 [JVM IR] Added null-checks of handler for non-super $default calls 2020-02-26 16:28:27 +01:00
Abduqodiri Qurbonzoda fe50bb4b93 KProperty and ReadOnlyProperty type parameter names #KT-16529 2020-02-26 17:34:03 +03:00
Mikhail Zarechenskiy 5ed28b38be [NI] Fix coroutine inference for qualified chained call with stub type 2020-02-26 17:16:15 +03:00
Dmitry Petrov a47c818a3c Minor: update testData in box tests with signature check 2020-02-26 16:02:04 +03:00
Ilmir Usmanov af5a381c2b Minor. Use java 6 construct in test
So, the test can be run on android.
2020-02-26 13:23:12 +01:00
Roman Artemev bb43a66716 [Metadata] Add platform dependent type transformer
- Fix forward declaration type construction
2020-02-26 14:55:54 +03:00
Roman Artemev 25a91a217e [KLIB] Fix package for NullFlexibleTypeDeserializer 2020-02-26 14:55:53 +03:00
Anton Bannykh b744ee0aa4 JS IR: Remove nested blocks from bodies 2020-02-26 14:51:18 +03:00
Anton Bannykh 7152156659 JS IR: Don't yield methods with no body 2020-02-26 14:51:18 +03:00