Commit Graph

79426 Commits

Author SHA1 Message Date
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
Andrey Zinovyev 6eaf0a95ca [KAPT] Fix expected resolve errors in tests (#4105) 2021-02-10 19:40:28 +03:00
Ilya Gorbunov af8061a4dd Remove kotlin-test-multiplatform special dependency handling
#KT-40225
2021-02-10 18:46:23 +03:00
Dmitriy Novozhilov 2cd1aefd5e [FIR-IDE] Add mapping for FirExpression in diagnostics and generate new IDE ones 2021-02-10 17:38:45 +03:00
Jinseong Jeon 9b1f01ab04 FIR checker: differentiate unsafe infix/operator calls from UNSAFE_CALL 2021-02-10 17:38:45 +03:00
Jinseong Jeon 1729eff31b FIR checker: reincarnate FIR source child lookup utils
This is a partial revert of commit 94ddb71213
2021-02-10 17:38:44 +03:00
Jinseong Jeon 5e150d62ea FIR checker: differentiate UNSAFE_IMPLICIT_INVOKE_CALL from UNSAFE_CALL 2021-02-10 17:38:44 +03:00
Dmitriy Novozhilov 0c0c53cc2e [FE] Don't analyze members with CLASSIFIERS kind filter in AbstractLazyMemberScope
This commit introduces partial support of descriptorKindFilter in
  `AbstractPsiBasedDeclarationProvider`. Without it there may be an error
  in following case:

```
sealed class Base
class Derived : Base()

class Test<out V>(val x: Base) {
    private val y = when (x) {
        is Derived -> null
    }
}
```

Here we start to resolve type of `y`, then go to computation of inheritors
  of sealed class Base, which also may be inside Test, so we need get all
  nested classifiers in Test. But without this filtration we will start
  computing descriptor for `y` again, which leads to ReenteringLazyComputationException

#KT-44316 Fixed
2021-02-10 16:56:49 +03:00
Mikhael Bogdanov 903defdf30 Use IDEA ASM in kapt module 2021-02-10 12:23:47 +01:00
Dmitriy Dolovov 154a768a3a [Commonizer] Minor. Remove unused import 2021-02-10 14:18:14 +03:00
Dmitriy Dolovov ac966ad1d2 [Commonizer] Add getParentEntityId() method to CirEntityId 2021-02-10 14:18:14 +03:00
Dmitriy Dolovov 4bab505c3a [Commonizer] Introduce CIR entities for representing various flavors of names
- CirName - simple name
- CirPackageName - fully-qualified name of the package
- CirEntityName - fully-qualified name of some entity, ex: Class, TypeAlias
2021-02-10 14:18:14 +03:00
Dmitriy Dolovov f8c5244a39 [Commonizer] Use CirConstantValue class to represent constant values 2021-02-10 14:18:13 +03:00
Dmitriy Dolovov 25df25ccc6 [Commonizer] Minor. Extract common module names from CommonizerParameters 2021-02-10 14:18:13 +03:00
Dmitriy Dolovov 97000b1285 [Commonizer] Drop CirContainingClassdetails in favor of CirClass entity 2021-02-10 14:18:13 +03:00
Dmitriy Dolovov 054b59198b [Commonizer] Don't keep fqName inside of CirPackageNode 2021-02-10 14:18:13 +03:00
Dmitriy Dolovov 5d19ac16d5 [Commonizer] Drop useless CirPackageNode.moduleName property 2021-02-10 14:18:12 +03:00
Dmitriy Dolovov c6756762e5 [Commonizer] Refactoring: Clean-up in CirTreeMerger 2021-02-10 14:18:12 +03:00
Dmitriy Novozhilov 671ebc6819 [FIR] Fix detecting that if in then branch of outer if used as expression 2021-02-10 14:17:38 +03:00
Alexander Udalov e6588ee8a4 CLI: include META-INF/services/ from kotlin-reflect with -include-runtime
This is an addition to bd205317aa where we
started to add the contents of kotlin-reflect into the resulting jar if
-include-runtime is specified. Apparently kotlin-reflect doesn't work
without some services in META-INF/services/, which didn't satisfy the
condition for inclusion. The existing test didn't catch that because
loading class annotations does not always lead to those services being
loaded.
2021-02-10 12:05:36 +01:00
Alexander Udalov 3dfd2a95fa Minor, do not output "Not changed" for generated FIR checkers on each build 2021-02-10 12:04:40 +01:00
Dmitriy Novozhilov 1216b33593 [Test] Move extracting JVM_TARGET to provideConfigurationKeys 2021-02-10 13:02:07 +03:00
Dmitriy Novozhilov 606ae45f5f [Test] Replace remaining KOTLIN_CONFIGURATION_FLAGS directives with specific ones 2021-02-10 13:02:06 +03:00
Dmitriy Novozhilov 3ee5665746 Parse compiler configuration for android tests using new test infrastructure 2021-02-10 13:02:05 +03:00
Dmitriy Novozhilov a0007bf244 Add analysisFlags of LanguageVersionSettings to toString() method 2021-02-10 13:02:04 +03:00
Dmitriy Novozhilov 7e59e083d3 [Test] Make some functions of environment configurators public
This is needed for using those methods from android tests
2021-02-10 13:02:03 +03:00
Dmitriy Novozhilov 24d6853ead [Test] Cleanup JvmEnvironmentConfigurator 2021-02-10 13:02:01 +03:00
Dmitriy Novozhilov a932f69b8a [Test] Don't pass MockProject to environment configurators 2021-02-10 13:02:00 +03:00
Jinseong Jeon bd37badf29 FIR checker: add diagnostics for backing fields 2021-02-10 12:29:34 +03:00
Mikhail Glukhikh a88b82d8ff Rewrite nasty code with if without else in elvis RHS 2021-02-10 12:19:59 +03:00
Yahor Berdnikau 7a9315e6b6 Fix KaptWithoutKotlincTask task tries to get wrong properties. 2021-02-10 10:15:58 +01:00
Andrey Zinovyev 48ec227aaf [KAPT] Suppress resolve error in annotation procssing
#KT-33223
2021-02-10 10:59:46 +03:00
Ilya Chernikov d64f7dd8c7 Revert "Add :kotlin-scripting-compiler.test to modules with disabled -Werror flag"
This reverts commit 21f022de
2021-02-10 08:33:15 +01:00
Ilya Chernikov 79b4b18e25 [minor] fix warnings in the script compiler and tests 2021-02-10 08:32:11 +01:00
Dmitry Petrov d0f26abd18 JVM_IR KT-44798 don't generate multiple stubs with same signature 2021-02-10 09:09:28 +03:00