Commit Graph

80218 Commits

Author SHA1 Message Date
Mikhail Glukhikh 8bab208322 FIR2IR: use information about callable reference adaptation from resolve 2021-02-15 17:08:08 +03:00
Victor Petukhov dcad9c84fc Don't fix type variables into Nothing in priority way
^KT-44546 Fixed
2021-02-15 15:12:45 +03:00
Yahor Berdnikau 440fc8c4e4 Deprecated 'kotlin.useCompilerFallbackSearch' property.
This property was introduced in 2018 and no longer supported.
See https://discuss.kotlinlang.org/t/how-to-set-usefallbackcompilersearch/9039
for details why it was introduced.
2021-02-15 12:43:22 +01:00
Yahor Berdnikau 069941cdaf Provide compiler classpath as task input.
This ensures that compiler classpath is what is expected
by Kotlin Plugin and removes possibility of leaking wrong jars
from Gradle wrapper classpath.

For 'kotlin.useFallbackCompilerSearch' old behaviour is still present,
but this option should be marked as deprecated and removed in one
of the Kotlin releases.
2021-02-15 12:43:18 +01:00
Dmitriy Dolovov 0eaea655d0 [Commonization] Improvements in approx. keys
- Don't print upper bounds if it contains only kotlin/Any?
- Print variance in lowercase
2021-02-15 13:25:52 +03:00
Dmitriy Dolovov 3c6eb8f8f4 Minor. Formatted 2021-02-15 13:25:47 +03:00
Dmitriy Dolovov 0af31abb04 [Commonizer] Add tests for overloading purely by different upper bounds 2021-02-15 13:25:40 +03:00
Dmitriy Dolovov 90cdb9203f [Commonizer] Fix integration tests: wrong mismatches filter 2021-02-15 13:25:34 +03:00
Dmitriy Dolovov 8a17de38d0 [Commonizer] Fix integration tests: serialize only own module contents 2021-02-15 13:25:28 +03:00
Dmitriy Dolovov 7f8f1dc4f8 [Commonizer] Calculate hash code by pure name in approximation keys 2021-02-15 13:25:22 +03:00
Mikhael Bogdanov 6ff5704ef9 Delete obsolete test 2021-02-15 11:24:10 +01:00
Mikhael Bogdanov f493766563 Add IR tests to Android codegen test 2021-02-15 11:24:10 +01:00
Victor Petukhov c0759f96e9 Fix FIR test lambdaParameterTypeInElvis 2021-02-15 12:59:07 +03:00
Yaroslav Chernyshev 8acf3b1d76 [Cocoapods] Fail import if project's version wasn't specified
#Fixed KT-44000
2021-02-15 12:39:40 +03:00
Vasily Levchenko 724fbdb3f6 [MERGE] KT: build-1.5.20-dev-576 KT/N: 8519223d0 OLD: 3164709fb 2021-02-15 10:16:21 +01:00
Roman Artemev 3ee0dc112b [Plugin API] Corresponding fox to K/N for #KT-44100
(cherry picked from commit 3141c0dfc6bcc6583f0a370a1ebb511bf5ec5731)
2021-02-15 10:16:11 +01:00
Vasily Levchenko 79e1d206a5 [kotlin compiler][update] 1.5.20-dev-576
* 6eaf0a95ca - (tag: build-1.5.20-dev-576) [KAPT] Fix expected resolve errors in tests (#4105) (5 days ago) <Andrey Zinovyev>
* af8061a4dd - (tag: build-1.5.20-dev-567) Remove kotlin-test-multiplatform special dependency handling (5 days ago) <Ilya Gorbunov>
* 2cd1aefd5e - (tag: build-1.5.20-dev-561) [FIR-IDE] Add mapping for FirExpression in diagnostics and generate new IDE ones (5 days ago) <Dmitriy Novozhilov>
* 9b1f01ab04 - FIR checker: differentiate unsafe infix/operator calls from UNSAFE_CALL (5 days ago) <Jinseong Jeon>
* 1729eff31b - FIR checker: reincarnate FIR source child lookup utils (5 days ago) <Jinseong Jeon>
* 5e150d62ea - FIR checker: differentiate UNSAFE_IMPLICIT_INVOKE_CALL from UNSAFE_CALL (5 days ago) <Jinseong Jeon>
* 0c0c53cc2e - (tag: build-1.5.20-dev-557) [FE] Don't analyze members with CLASSIFIERS kind filter in AbstractLazyMemberScope (5 days ago) <Dmitriy Novozhilov>
* 903defdf30 - (tag: build-1.5.20-dev-542) Use IDEA ASM in kapt module (5 days ago) <Mikhael Bogdanov>
* 154a768a3a - (tag: build-1.5.20-dev-540) [Commonizer] Minor. Remove unused import (5 days ago) <Dmitriy Dolovov>
* ac966ad1d2 - [Commonizer] Add getParentEntityId() method to CirEntityId (5 days ago) <Dmitriy Dolovov>
* 4bab505c3a - [Commonizer] Introduce CIR entities for representing various flavors of names (5 days ago) <Dmitriy Dolovov>
* f8c5244a39 - [Commonizer] Use CirConstantValue class to represent constant values (5 days ago) <Dmitriy Dolovov>
* 25df25ccc6 - [Commonizer] Minor. Extract common module names from CommonizerParameters (5 days ago) <Dmitriy Dolovov>
* 97000b1285 - [Commonizer] Drop CirContainingClassdetails in favor of CirClass entity (5 days ago) <Dmitriy Dolovov>
* 054b59198b - [Commonizer] Don't keep fqName inside of CirPackageNode (5 days ago) <Dmitriy Dolovov>
* 5d19ac16d5 - [Commonizer] Drop useless CirPackageNode.moduleName property (5 days ago) <Dmitriy Dolovov>
* c6756762e5 - [Commonizer] Refactoring: Clean-up in CirTreeMerger (5 days ago) <Dmitriy Dolovov>
* 671ebc6819 - [FIR] Fix detecting that `if` in `then` branch of outer `if` used as expression (5 days ago) <Dmitriy Novozhilov>
* e6588ee8a4 - (tag: build-1.5.20-dev-539) CLI: include META-INF/services/ from kotlin-reflect with -include-runtime (5 days ago) <Alexander Udalov>
* 3dfd2a95fa - Minor, do not output "Not changed" for generated FIR checkers on each build (5 days ago) <Alexander Udalov>
* 1216b33593 - (tag: build-1.5.20-dev-536) [Test] Move extracting JVM_TARGET to provideConfigurationKeys (5 days ago) <Dmitriy Novozhilov>
* 606ae45f5f - [Test] Replace remaining `KOTLIN_CONFIGURATION_FLAGS` directives with specific ones (5 days ago) <Dmitriy Novozhilov>
* 3ee5665746 - Parse compiler configuration for android tests using new test infrastructure (5 days ago) <Dmitriy Novozhilov>
* a0007bf244 - Add analysisFlags of LanguageVersionSettings to `toString()` method (5 days ago) <Dmitriy Novozhilov>
* 7e59e083d3 - [Test] Make some functions of environment configurators public (5 days ago) <Dmitriy Novozhilov>
* 24d6853ead - [Test] Cleanup JvmEnvironmentConfigurator (5 days ago) <Dmitriy Novozhilov>
* a932f69b8a - [Test] Don't pass MockProject to environment configurators (5 days ago) <Dmitriy Novozhilov>
* bd37badf29 - (tag: build-1.5.20-dev-531) FIR checker: add diagnostics for backing fields (5 days ago) <Jinseong Jeon>
* a88b82d8ff - Rewrite nasty code with if without else in elvis RHS (5 days ago) <Mikhail Glukhikh>
* 7a9315e6b6 - (tag: build-1.5.20-dev-525) Fix KaptWithoutKotlincTask task tries to get wrong properties. (5 days ago) <Yahor Berdnikau>
* 48ec227aaf - (tag: build-1.5.20-dev-519) [KAPT] Suppress resolve error in annotation procssing (5 days ago) <Andrey Zinovyev>
* d64f7dd8c7 - (tag: build-1.5.20-dev-518) Revert "Add :kotlin-scripting-compiler.test to modules with disabled -Werror flag" (5 days ago) <Ilya Chernikov>
* 79b4b18e25 - [minor] fix warnings in the script compiler and tests (5 days ago) <Ilya Chernikov>
* d0f26abd18 - (tag: build-1.5.20-dev-512) JVM_IR KT-44798 don't generate multiple stubs with same signature (5 days ago) <Dmitry Petrov>
* 9afe8a0a39 - (tag: build-1.5.20-dev-504) Make checker tests independent of plugin version (5 days ago) <Vladimir Dolzhenko>
* 09ea4116e4 - (tag: build-1.5.20-dev-500) Implement forced script configuration reloading API for plugins (5 days ago) <Ilya Chernikov>
* 2673261b10 - (tag: build-1.5.20-dev-497) Use proper `jvmArgs` syntax, remove `-FailOverToOldVerifier` from last configurations (6 days ago) <Mikhael Bogdanov>
* c54354f348 - (tag: build-1.5.20-dev-491) FIR: fix memory leak from ConeIntegerLiteralTypeImpl via static NUMBER_TYPE (6 days ago) <Ilya Kirillov>
* ede5fef39c - FIR IDE: fix memory leak in symbols by firBuilder (6 days ago) <Ilya Kirillov>
* cf3defbc9c - FIR IDE: add more KDoc to HLApplicator stuff (6 days ago) <Ilya Kirillov>
* 2554065ae9 - FIR IDE: forbid resolve in HLApplicator/HLApplicabilityRange/HLPresentation (6 days ago) <Ilya Kirillov>
* 7ab9583102 - FIR IDE: add KDoc for HLApplicabilityRange (6 days ago) <Ilya Kirillov>
* 91e135888d - FIR IDE: introduce HLSpecifyExplicitTypeForCallableDeclarationIntention and HLRedundantUnitReturnTypeInspection (6 days ago) <Ilya Kirillov>
* a6f76399e2 - FIR IDE: introduce infrastructure for HL based inspections & intentions (6 days ago) <Ilya Kirillov>
* 5cefad1ab3 - FIR: use GeneratorsFileUtil for checkers-component-generator (6 days ago) <Ilya Kirillov>
* 4cf863e054 - FIR: simplify PositioningStrategy checkers generator (6 days ago) <Ilya Kirillov>
* 21ac83aba0 - FIR: rename Diagnostic to DiagnosticData in checkers generators to avoid conflict with existing Diagnostic class (6 days ago) <Ilya Kirillov>
* cf56c59ca2 - Fix binary incompatibility of createRemoveModifierFromListOwnerFactory (6 days ago) <Ilya Kirillov>
* 8fc6e50dd1 - FIR IDE: allow specify position to insert directive in IgnoreTests (6 days ago) <Ilya Kirillov>
* b2d51dc455 - FIR: Update diagnostics list after rebase (6 days ago) <Ilya Kirillov>
* fe9c0e584f - FIR IDE: update test data (6 days ago) <Ilya Kirillov>
* e269b1d19d - FIR IDE: temporary mute failing tests (6 days ago) <Ilya Kirillov>
* d72a2d39da - FIR IDE: ignore not passing quickfixes tests (6 days ago) <Ilya Kirillov>
* 6c81d9848d - FIR IDE: introduce ChangeReturnTypeOnOverrideQuickFix (6 days ago) <Ilya Kirillov>
* 9304056901 - FIR IDE: add quick fix tests (6 days ago) <Ilya Kirillov>
* 5d32cb0daf - FIR IDE: add remove modifier quick fixes (6 days ago) <Ilya Kirillov>
* c87e6c6a87 - FIR IDE: fix finding containing declaration for constructor param (6 days ago) <Ilya Kirillov>
* f7aec31abf - FIR IDE: add KDoc for KtSymbol.psi (6 days ago) <Ilya Kirillov>
* aed728c4d8 - FIR IDE: do not require containing declaration for getting overridden symbols (6 days ago) <Ilya Kirillov>
* 0fbb5c60c9 - FIR IDE: add helper function for getting psi of KtSymbol (6 days ago) <Ilya Kirillov>
* 99a6f24771 - FIR IDE: make KtCallableSymbol to be KtTypedSymbol (6 days ago) <Ilya Kirillov>
* b114a45f23 - FIR IDE: render KtFunctionalType in KtTypeRenderer (6 days ago) <Ilya Kirillov>
* a10f54befa - FIR IDE: introduce KtFunctionalType (6 days ago) <Ilya Kirillov>
* 0551834164 - Extract getText/getFamilyName from ChangeCallableReturnTypeFix to use in FIR IDE (6 days ago) <Ilya Kirillov>
* 79baffb69d - FIR IDE: add PSI type parameter to KtDiagnostic (6 days ago) <Ilya Kirillov>
* e008ad03a2 - FIR: add groups to diagnostics DSL (6 days ago) <Ilya Kirillov>
* aaba5742dc - FIR IDE: add severity to KtDiagnostic (6 days ago) <Ilya Kirillov>
* f5ec37db95 - FIR IDE: report diagnostics for non-kt elements (6 days ago) <Ilya Kirillov>
* e9a5749cf4 - FIR IDE: introduce KtQuickFixService (6 days ago) <Ilya Kirillov>
* 05fb88d2d9 - Migrate RemoveModifierFix factories to QuickFixesPsiBasedFactory to use in FIR IDE (6 days ago) <Ilya Kirillov>
* 794558ab68 - Introduce QuickFixesPsiBasedFactory for quickfixes which can be created only by PSI (6 days ago) <Ilya Kirillov>
* 6dd2037f85 - Move QuickFixActionBase & KotlinIntentionActionsFactory to frontend-independent module (6 days ago) <Ilya Kirillov>
* 15ff79830f - FIR: remove existingN diagnostic creation functions (6 days ago) <Ilya Kirillov>
* e41ad2ea06 - FIR IDE: implement generators for IDE diagnostics (6 days ago) <Ilya Kirillov>
* c87684a6ef - FIR IDE: use simple KtDiagnostic wrapper for diagnostics (6 days ago) <Ilya Kirillov>
* b92dce9be4 - FIR: introduce DSL to generate diagnostics list (6 days ago) <Ilya Kirillov>
* 5ff816127a - FIR: extract ConeDiagnostic -> FirDiagnostic to fun to use in IDE code (6 days ago) <Ilya Kirillov>
* ef4fa3381d - (tag: build-1.5.20-dev-485, origin/rr/ic/scripting) Pass provided script configuration to refining code (6 days ago) <Ilya Chernikov>
* 6dd331d7e8 - (tag: build-1.5.20-dev-475) [FIR] Add tests for non exhaustive when as last expression of lambda (6 days ago) <Dmitriy Novozhilov>
* e54f31cc2f - [IR] Remove useless init block from IrLazyFunction (6 days ago) <Dmitriy Novozhilov>
* 8f0e1035fa - [FIR] Rename `KEY` and `VALUE` generics of FirCache to `K` and `V` (6 days ago) <Dmitriy Novozhilov>
* e7fdc18ced - [FIR] Fix `[JSP] Fast FIR tests` run configuration (6 days ago) <Dmitriy Novozhilov>
* d7e3e83251 - [FIR] Update testdata of FIR spec tests (6 days ago) <Dmitriy Novozhilov>
* 18bde2c542 - [FIR] Reimplement when exhaustiveness checker to fir it's logic with FE 1.0 (6 days ago) <Dmitriy Novozhilov>
* 2a1c9283a4 - [FIR] Add useful util extensions for cone type (6 days ago) <Dmitriy Novozhilov>
* ad677046a8 - [FIR] Replace `isExhaustive` flag with `ExhaustivenessStatus` object (6 days ago) <Dmitriy Novozhilov>
* 96038e4b32 - [FIR] Support java sealed class interop (6 days ago) <Dmitriy Novozhilov>
* abd1c8fb30 - [FIR] Move `sealedInheritors` declaration data to :fir:tree module (6 days ago) <Dmitriy Novozhilov>
* 8dd9d98129 - [FIR] Implement checker for exhaustive when's in expression position (6 days ago) <Dmitriy Novozhilov>
* 3f715e671d - [FIR] Fix checking for null exhaustiveness with expression of Nothing? type (6 days ago) <Dmitriy Novozhilov>
* 76f9830b47 - [FIR] Fix checking for boolean exhaustiveness with || in branch (6 days ago) <Dmitriy Novozhilov>
* 6469900b5e - [FIR] Fix forgotten light source element for if expression (6 days ago) <Dmitriy Novozhilov>
* 11ab37160e - [FIR] Save info that when was used as expression (6 days ago) <Dmitriy Novozhilov>
* 490ef210ac - [FIR] Support sealed class inheritors in multiple files (6 days ago) <Dmitriy Novozhilov>
* c8f9cc33ef - [FIR] Pass all FirFiles to FirGlobalResolveProcessor.process (6 days ago) <Dmitriy Novozhilov>
* 38437fb036 - [FIR] Rename `session.firSymbolProvider` to `session.symbolProvider` (6 days ago) <Dmitriy Novozhilov>
* e3c1aa599d - (tag: build-1.5.20-dev-474) KT-44487 [Sealed Interfaces]: sealed-inheritors-provider for MPP (6 days ago) <Andrei Klunnyi>
* 6f9bcf249b - (tag: build-1.5.20-dev-472) [IR] Supported inlining of adapted references + tests (6 days ago) <Igor Chevdar>
* 9724d81a49 - (tag: build-1.5.20-dev-471) [FIR] Support boolean elvis bound smartcasts (6 days ago) <Dmitriy Novozhilov>
* 2b088f1147 - [FIR] Fix generating data class if there is non-property in primary constructor (6 days ago) <Dmitriy Novozhilov>
* 30b5bfe767 - (tag: build-1.5.20-dev-466) Disable D8 checks for `-jvm-target 15` tests (6 days ago) <Mikhael Bogdanov>
* 3dff225b98 - Aligh test data with JDK 15 reflection output (6 days ago) <Mikhael Bogdanov>
* 21e9f67322 - Add JvmTargetXOnJvm15 test suites (6 days ago) <Mikhael Bogdanov>
* 5c5fb0ae39 - Add JvmTarget6OnJvm8 test suite (6 days ago) <Mikhael Bogdanov>
* 8af9ce1e0b - (tag: build-1.5.20-dev-465) Minor. Ignore test on WASM (6 days ago) <Ilmir Usmanov>
* 275fef94fe - JVM_IR. Do not mangle callable reference constructor call (6 days ago) <Ilmir Usmanov>
* 10cc86c975 - (tag: build-1.5.20-dev-458) [KAPT] Warn about usage of types from default package (6 days ago) <Andrey Zinovyev>
* 58d903c638 - (tag: build-1.5.20-dev-455) [FIR IDE] Make KtSmartcastProvider report resolved smartcast type (6 days ago) <Tianyu Geng>
* d97a2b13c0 - (tag: build-1.5.20-dev-448) [Plugin API] Add API to load top level declaration by its signature (6 days ago) <Roman Artemev>
* ca6e1b8f1b - (tag: build-1.5.20-dev-447) Add box test for #KT-43831 (6 days ago) <Roman Artemev>
* 79f986bb75 - [IR] Fix IrType equality in case of complex variance (6 days ago) <Roman Artemev>
* 4ed93d3dee - [IR] Add IrCapturedType into IR type system (6 days ago) <Roman Artemev>
* 9b6f95faa2 - (tag: build-1.5.20-dev-445) FIR: report lowering time in FullPipelineModularizedTest (6 days ago) <Georgy Bronnikov>
* 1664eec7e4 - FIR: report lowering time from JvmIrCodegenFactory (6 days ago) <Georgy Bronnikov>
* 75954dd1a4 - (tag: build-1.5.20-dev-427) Minor: refactor extended compiler checks (7 days ago) <Pavel Kirpichenkov>
* 2a46da906c - Provide additional information about missing supertypes (7 days ago) <Pavel Kirpichenkov>
* 4a381d4b83 - (tag: build-1.5.20-dev-426) FIR DFA: update receivers properly in case of single flow in merge point (7 days ago) <Mikhail Glukhikh>
* d96921e287 - FIR2IR: collect annotations when expanding type aliases (7 days ago) <pyos>
* 872effc21e - (tag: build-1.5.20-dev-422) Check declaration modifier for actual method to avoid freeze (7 days ago) <Vladimir Dolzhenko>
* 3e17317f31 - (tag: build-1.5.20-dev-416) Update steps to install JDK 6 on Mac OS (#4052) (7 days ago) <Muhammad Hakim Asy'ari>
* d4b0688690 - (tag: build-1.5.20-dev-404) FIR: introduce delegate field initializers (7 days ago) <Mikhail Glukhikh>
* 2cbdad0bb1 - FIR2IR: insert implicit cast of receiver to Any for interface Any calls (7 days ago) <Mikhail Glukhikh>
* 1c210c2386 - FIR: fix of super.methodOfAny resolve in case of one supertype (7 days ago) <Mikhail Glukhikh>
* 694d69fbfa - FIR2IR: select return target inside accessor properly (7 days ago) <Mikhail Glukhikh>
* 19bffc694b - (tag: build-1.5.20-dev-402) [JS IR] Add test with chain export--not-export--export (7 days ago) <Ilya Goncharov>
* 76b124a9c0 - [JS IR] Method of any is exported (7 days ago) <Ilya Goncharov>
* 7b4624aac4 - [JS IR] Add exported method into exportNestedClass.kt (7 days ago) <Ilya Goncharov>
* 6c051b2be4 - [JS IR] Override method are not exported (7 days ago) <Ilya Goncharov>
* a9322a01ce - (tag: build-1.5.20-dev-400) FIR checker: avoid redundant casting to resolved type ref (7 days ago) <Jinseong Jeon>
* 37a702b962 - FIR: coerce to Unit when a lambda has early returns (7 days ago) <Jinseong Jeon>
* 83e3201677 - FIR DFA: correct exit node retrieval when a safe call is the last expression (7 days ago) <Jinseong Jeon>
* 266432a482 - FIR checker: fix condition for property type mismatch on override (7 days ago) <Jinseong Jeon>
* 065d0c66ab - FIR checker: reproduce a false alarm on type mismatch of overridden property (7 days ago) <Jinseong Jeon>
* 64c5608f31 - FIR: expect nullable type for elvis LHS (7 days ago) <pyos>
* 0e8f4294f0 - (tag: build-1.5.20-dev-397) Add changelog for 1.4.30 (7 days ago) <Margarita Bobova>
* 04017b00a1 - (tag: build-1.5.20-dev-395) [FIR IDE] Fix TypeRef resolve to error type caused by invalid number of arguments (7 days ago) <Igor Yakovlev>
* f9e5584a3e - (tag: build-1.5.20-dev-390) Report error about uninferred type parameter for all `CallForImplicitInvoke` psi calls (7 days ago) <Victor Petukhov>
* c75d2c05f0 - (tag: build-1.5.20-dev-388) [KAPT] Correct type for property with accessor (7 days ago) <Andrey Zinovyev>
2021-02-15 10:16:11 +01:00
Alexander Shabalin 05d4bbf367 Do not generate safepoints for initializer functions (#4700) 2021-02-15 10:16:10 +01:00
Alexander Shabalin 97262c273f Misc changes for GC in new MM (#4699) 2021-02-15 10:16:10 +01:00
Svyatoslav Scherbina f7af8bc763 Add test for SAM-converted lambdas passed to Obj-C
Based on https://youtrack.jetbrains.com/issue/KT-44799
2021-02-15 10:16:10 +01:00
Igor Chevdar ab36e919bc [IR] Fix for https://youtrack.jetbrains.com/issue/KT-44799 2021-02-15 10:16:10 +01:00
Sergey Bogolepov f6f050ff68 Fix KT-44295
builtins "header" is included in both builtin and posix platform libraries, but only posix has declarations for builtin structs (e.g. __va_list_tag). Library resolver by default has no guarantee on order of resolved libraries which causes KT-44295.
To make results of `KotlinLibraryResolver` stable we pass TopologicalLibraryOrder to `getFullList` and specify a dependency of builtin on posix
2021-02-15 10:16:10 +01:00
Sergey Bogolepov 0ecd76c3cb Make incompleteTypes test more robust.
Currently, Kotlin strings that are passed to C functions are copied under the hood on the callsite. These copies have a short lifetime which might cause problems if it should outlive current call.
2021-02-15 10:16:10 +01:00
Sergey Bogolepov 70832b16a3 Fix KT-44774 2021-02-15 10:16:10 +01:00
Svyatoslav Scherbina 59c6940caf Ensure generated LLVM functions get attributes
In particular, fix missing frame pointers for ObjCExport bridges.

 #KT-44549 Fixed.
2021-02-15 10:16:10 +01:00
Igor Chevdar ae32e18634 [tests] Turned on passing test 2021-02-15 10:16:10 +01:00
Sergey Bogolepov 884056b7b4 Check that given anotherDistro path is actually a Kotlin/Native distribution 2021-02-15 10:16:10 +01:00
Sergey Bogolepov 8068dee811 Show ABI compatibility tasks even if anotherDistro is not provided. 2021-02-15 10:16:10 +01:00
Dmitriy Dolovov 62ca6e44e4 Script for repacking prebuilt bundles (to exclude 'prebuilt' word) 2021-02-15 10:16:10 +01:00
Sergey Bogolepov b03dc71da3 Do not cross-compile kt43502 test. 2021-02-15 10:16:10 +01:00
Victor Petukhov c158c64ee0 Reformat TypeWithEnhancement.kt 2021-02-15 12:13:57 +03:00
Victor Petukhov 0d40022d6d Add reporting of the warnings based on Java annotations for expanded type aliases
Before that, such warnings weren't reported as the corresponding errors were reported during type inference (only original types took part there)
2021-02-15 12:13:55 +03:00
Victor Petukhov d783d99443 Use upper bound checker for typealias expansion 2021-02-15 12:13:53 +03:00
Victor Petukhov edb8007d52 Add test for errors reporting of UPPER_BOUND_VIOLATED 2021-02-15 12:13:52 +03:00
Victor Petukhov befe8599c4 Report warnings or errors for violated type parameter's upper bounds from Java annotated with nullability annotations
^KT-43262 Fixed
2021-02-15 12:13:50 +03:00
Dmitriy Novozhilov cf4e61bebb [FIR] Add spec diagnostic tests to [JPS] Fast FIR tests run configuration 2021-02-15 11:37:40 +03:00
Dmitriy Novozhilov 5711a8d610 [FIR] Support PreliminaryLoopVisitor in FIR DFA 2021-02-15 11:37:39 +03:00
Dmitriy Novozhilov 0e46a961a3 [FIR] Implement util Multimap classes 2021-02-15 11:37:39 +03:00
Dmitriy Novozhilov 67ad4249c8 [Test] Add FirDumpHandler to AbstractFirBlackBoxCodegenTest
This is needed to add ability to enable `FIR_DUMP` directive which
  may be helpful in investigating bugs
2021-02-15 11:37:39 +03:00
Victor Petukhov a94086224d Clear request cache properly during disposing component 2021-02-15 11:13:11 +03:00
Victor Petukhov 6f64fd2fec Propagate inference session into declaration analyzers
It prevents missing inference session for local declaration (local functions, local classes or objects)

^KT-44801 Fixed
2021-02-15 11:12:58 +03:00
Victor Petukhov dae1f4c05d Remove redundant extension receiver substitution during lambda's completion 2021-02-15 11:12:56 +03:00
Alexander Likhachev b463a0fa58 [Gradle] Use property provider for configuration time only if available 2021-02-15 09:58:51 +03:00
Alexander Likhachev 683bd0ed38 [Gradle, JVM] Don't create deprecated compile/runtime configurations
Gradle also removes these configurations in 7.0. See gradle/gradle@2cb45cdbd0
#KT-44462 Fixed
2021-02-15 09:35:54 +03:00
Alexander Likhachev ef458b20e1 [Gradle] Replace deprecated dependencies configurations in buildscript 2021-02-15 09:21:44 +03:00
Alexander Likhachev c7427a751a [Gradle, K/N] Add integration tests for framework artifacts
#KT-43556 Fixed
2021-02-15 09:21:44 +03:00
Alexander Likhachev 383b9834a1 [Gradle, K/N] Make BitcodeEmbeddingMode move backward compatible 2021-02-15 09:21:44 +03:00
Alexander Likhachev cbeb031099 [Gradle, K/N] Move NativeBinaryTypes from kotlin-gradle-plugin to kotlin-gradle-plugin-api 2021-02-15 09:21:44 +03:00
Alexander Likhachev a6cdfeafed [Gradle, K/N] Consumable frameworks review fixes 2021-02-15 09:21:43 +03:00
Alexander Likhachev 604dda839a [Gradle, K/N] Generate fat framework tasks and consumable configurations 2021-02-15 09:21:43 +03:00