Commit Graph

80218 Commits

Author SHA1 Message Date
Ilya Goncharov 621c87ee84 Overflowed teamcity messages should failed build
^KT-41133 fixed
2020-08-24 18:22:22 +03:00
Roman Artemev c16cffa9f4 [KLIB] Corresponding fix to kotlin (@JsExport)
(cherry picked from commit 0142385cdc78af49890374c7aec1db25ddd13778)
2020-08-24 17:07:33 +02:00
Vasily Levchenko e81b6b8eda [kotlin compiler][update] 1.4.20-dev-3898
* aeae898b94 - (tag: build-1.4.20-dev-3898, origin/master, origin/HEAD) [FIR] Fix issues with properties' fake sources (vor 2 Stunden) <Nick>
* 61e21dadec - [FIR] Add 3 type mismatch diagnostics (vor 2 Stunden) <Nick>
* c8f8908a01 - [FIR] Add NO_THIS & INSTANCE_ACCESS_BEFORE_SUPER_CALL (vor 2 Stunden) <Nick>
* 7e1c2cfd36 - [FIR] Add diagnostic INAPPLICABLE_LATEINIT_MODIFIER + some builtin types (vor 2 Stunden) <Nick>
* 091e12c093 - [FIR] Add diagnostic CONFLICTING_PROJECTION (vor 2 Stunden) <Nick>
* d40bca4143 - (tag: build-1.4.20-dev-3894) [Commonizer] Short-circuiting of type aliases (vor 4 Stunden) <Dmitriy Dolovov>
* 8a84af8a6f - (tag: build-1.4.20-dev-3882) Build: Fix idea-gradle test task dependency on dist (vor 2 Tagen) <Vyacheslav Gerasimov>
* a9359eb530 - (tag: build-1.4.20-dev-3875) RangeContainsLowering: Handle unsigned ranges. (vor 3 Tagen) <Mark Punzalan>
* ceba9f231d - RangeContainsLowering: Fix bug in additional condition order for `until` ranges. (vor 3 Tagen) <Mark Punzalan>
* 60a2f7d03f - RangeContainsLowering: Handle Comparable ranges. (vor 3 Tagen) <Mark Punzalan>
* 1c1b1b4b0f - Initial version of RangeContainsLowering, which optimizes calls to contains() on ClosedRanges. (vor 3 Tagen) <Mark Punzalan>
* ca541337d1 - (tag: build-1.4.20-dev-3869) FIR: skip return insertion for lambda w/ Unit return type (vor 3 Tagen) <Jinseong Jeon>
* f1ce668ede - (tag: build-1.4.20-dev-3867) IR: minor, don't store unnecessary fields (vor 3 Tagen) <Alexander Udalov>
* 26eb51a9f9 - Minor, fix generateBuiltins test (vor 3 Tagen) <Alexander Udalov>
* d170f46bfc - (tag: build-1.4.20-dev-3865) Mute flaky fun usages tests (vor 3 Tagen) <Nikolay Krasko>
* 6293842d81 - Mute XCoroutinesStackTraceTestGenerated flaky test (vor 3 Tagen) <Nikolay Krasko>
* 9d300f56cc - Mark SubpluginsIT.testKotlinVersionDowngradeInSupbrojectKt39809 as flaky (vor 3 Tagen) <Nikolay Krasko>
* 8f785f6bb2 - Mute flaky tests in ContinuationStackTraceTestGenerated (vor 3 Tagen) <Nikolay Krasko>
* fd036c2658 - Mute flaky tests in JavaAgainstKotlinBinariesCheckerTestGenerated (vor 3 Tagen) <Nikolay Krasko>
* fcca2c6fa3 - (tag: build-1.4.20-dev-3861) [JS IR] fix failing test (vor 3 Tagen) <Roman Artemev>
* 5722f889d8 - (tag: build-1.4.20-dev-3857) FIR2IR: scan the entire interface tree for delegatable members (vor 3 Tagen) <pyos>
* 99d2fd7c4d - [FIR] Handle open in interface correctly during status resolve (vor 3 Tagen) <Mikhail Glukhikh>
* 8e2c5bf4fe - [FIR] Fix exposed visibility checking for enum entries (vor 3 Tagen) <Mikhail Glukhikh>
* e15e87fded - [FIR] Expand aliased type before checking for exposure (vor 3 Tagen) <Mikhail Glukhikh>
* cb6fbc329a - (tag: build-1.4.20-dev-3855) FIR: Simplify FirQualifiedAccess hiearchy (vor 3 Tagen) <Denis Zharkov>
* e6837a5b8c - (tag: build-1.4.20-dev-3850) [FIR] Unify implementations of `toSymbol` and `getSymbolByLookupTag` (vor 3 Tagen) <Dmitriy Novozhilov>
* d1f6e45b08 - [FIR] Cleanup signature of `getNestedClassifierScope` (vor 3 Tagen) <Dmitriy Novozhilov>
* ffdc68b68d - [FIR] Get rid of AbstractFirSymbolProviderWithCache (vor 3 Tagen) <Dmitriy Novozhilov>
* 111b8c0169 - [FIR] Cleanup caching symbol in `ConeClassLikeLookupTagImpl` (vor 3 Tagen) <Dmitriy Novozhilov>
* 9032234e1d - [FIR] Get rid of FirSymbolProvider.getNestedClassifierScope (vor 3 Tagen) <Dmitriy Novozhilov>
* 77f52a9ddb - [FIR] Add special inline class for caches which are used in symbol providers (vor 3 Tagen) <Dmitriy Novozhilov>
* 4b6193159c - [FIR] Get rid of JavaSymbolProvider.getJavaTopLevelClasses (vor 3 Tagen) <Dmitriy Novozhilov>
* d7cfb2fb13 - [FIR] Get rid of FirSymbolProvider.getClassNamesInPackage (vor 3 Tagen) <Dmitriy Novozhilov>
* b31f80aee3 - [FIR] Get rid of FirSymbolProvider.getAllCallableNamesInPackage (vor 3 Tagen) <Dmitriy Novozhilov>
* f32a0fe7ad - [FIR-TEST] Unify AbstractFirLoadCompiledKotlin and BuiltInsDeserializationForFirTestCase (vor 3 Tagen) <Dmitriy Novozhilov>
* 913ea9b56d - [FIR-TEST] Get rid of deprecated methods usage in AbstractFirLoadCompiledKotlin (vor 3 Tagen) <Dmitriy Novozhilov>
* 41aa90ad71 - [FIR-TEST] Add flag to take memory dumps in modularized test (vor 3 Tagen) <Dmitriy Novozhilov>
* cb0b25ea39 - [FIR] Replace `Deprecated` with `PrivateForInline` in ScopeSession (vor 3 Tagen) <Dmitriy Novozhilov>
* b4dc7955b4 - [FIR] Avoid collections copying in FirSymbolProvider (vor 3 Tagen) <Dmitriy Novozhilov>
* ce36ae64a1 - [FIR] Deprecate questionable methods of FirSymbolProvider (vor 3 Tagen) <Dmitriy Novozhilov>
* d5bb87cd1f - [FIR] Replace inheritance with delegation for FirProvider and FirSymbolProvider (vor 3 Tagen) <Dmitriy Novozhilov>
* ad9e41b828 - [FIR] Mark JavaSymbolProvider.getJavaTopLevelClasses as `@TestOnly` (vor 3 Tagen) <Dmitriy Novozhilov>
* 1d26ce4a4e - [FIR] Get rid of useless methods in FirSymbolProvider (vor 3 Tagen) <Dmitriy Novozhilov>
* f0d05a321d - [FIR-IDE] Use symbolProvider instead of firProvider in KtFirPackageScope (vor 3 Tagen) <Dmitriy Novozhilov>
* 5a45cc7290 - (tag: build-1.4.20-dev-3834) Update wizard tests (vor 3 Tagen) <Kirill Shmakov>
* cee72023fa - Remove TypeSystemContext::mayBeTypeVariable optimization (vor 3 Tagen) <Denis Zharkov>
* 9ac5dd2bce - FIR: Use lookup tags for as type constructors instead of symbols (vor 3 Tagen) <Denis Zharkov>
* 34b55dbeb3 - (tag: build-1.4.20-dev-3833, tag: build-1.4.20-dev-3831) (CoroutineDebugger) Disable agent for MPP projects (vor 3 Tagen) <Vladimir Ilmov>
* 1e96088cc6 - (tag: build-1.4.20-dev-3829) Check unique symbols in Goto*Tests (vor 3 Tagen) <Vladimir Dolzhenko>
* 5f584691a6 - (tag: build-1.4.20-dev-3824) [inspections] disable "Redundant inner modifier" inspection (vor 3 Tagen) <Dmitry Gridin>
* ec253862c6 - (tag: build-1.4.20-dev-3821) Check unique symbols in Goto*Tests (vor 4 Tagen) <Vladimir Dolzhenko>
* 62be688eb7 - (tag: build-1.4.20-dev-3819) Wizard: add missing test dependency (vor 4 Tagen) <Kirill Shmakov>
* e7f22bcfbc - (tag: build-1.4.20-dev-3818) [JS IR] Add  test for cross module export (vor 4 Tagen) <Roman Artemev>
* 136d86e552 - [JS IR] Fix cross-module import/export in case per-module splitting (vor 4 Tagen) <Anton Bannykh>
* 8d61e9ba21 - [KLIB] Load `@JsExport` annotated declarations explicitly (vor 4 Tagen) <Roman Artemev>
* 1a0e3a1d83 - [KLIB] Refactor file serializer a bit (vor 4 Tagen) <Roman Artemev>
* 12e900ef3c - (tag: build-1.4.20-dev-3816) Minor, do not capitalize words in generated Gradle options docs (vor 4 Tagen) <Alexander Udalov>
* 0ef4b22cf3 - Remove deprecated usages of ContainerUtil (vor 4 Tagen) <Alexander Udalov>
* 2428c180c2 - Suppress warning on usage of old MPP in kotlin-stdlib (vor 4 Tagen) <Alexander Udalov>
* da6d904c6e - Suppress code warnings in kotlin-stdlib (vor 4 Tagen) <Alexander Udalov>
* 5ef4f7df5a - (tag: build-1.4.20-dev-3815, tag: build-1.4.20-dev-3802) Mute more tests (vor 4 Tagen) <Nikolay Krasko>
* 44a95a4105 - Stop running failed AndroidRunner tests (vor 4 Tagen) <Nikolay Krasko>
* 7f91ed6997 - Support mute tests in kotlin-gradle-plugin-integration-tests (KTI-234) (vor 4 Tagen) <Nikolay Krasko>
* 07bddbe4d0 - [FIR CLI] Don't run generation if some errors are found (vor 4 Tagen) <Mikhail Glukhikh>
* 85c1505689 - [FIR2IR] Copy type parameters for trivial fake overrides (vor 4 Tagen) <Mikhail Glukhikh>
* bf0bb9e946 - JVM IR: remove obsolete code for duplicate signature diagnostics (vor 4 Tagen) <Alexander Udalov>
* 425b192a5f - Fix warnings in build-common/daemon code (vor 4 Tagen) <Alexander Udalov>
* 1d15a5547d - Suppress deprecation warnings related to scripting (vor 4 Tagen) <Alexander Udalov>
* 549ee84687 - Fix some compiler warnings in FIR modules (vor 4 Tagen) <Alexander Udalov>
* ced151f3af - (tag: build-1.4.20-dev-3799) Add test for KT-41254 (vor 4 Tagen) <Mikhail Zarechenskiy>
* a6f301e84a - (tag: build-1.4.20-dev-3790) [JVM_IR] Rebase constructor stepping tests that are working as intended. (vor 4 Tagen) <Mads Ager>
* 2c6b5c8847 - [JVM_IR] Give temporary variable loads meaningful offsets. (vor 4 Tagen) <Mads Ager>
* 413d02621b - (tag: build-1.4.20-dev-3788) Add a link to docs in MPP stability warning; add a flag that hides it (vor 4 Tagen) <Sergey Igushkin>
* 02e5f140f4 - (tag: build-1.4.20-dev-3779, tag: build-1.4.20-dev-3777) Fir2IrLazyProperty: generate overridden symbols via FirTypeScope (vor 4 Tagen) <Mikhail Glukhikh>
* 25efad2fd7 - [FIR2IR] Extract generateOverriddenAccessorSymbols (vor 4 Tagen) <Mikhail Glukhikh>
* 539d2bc01f - (tag: build-1.4.20-dev-3776) FIR Completion: Fix completion with error type as receiver (vor 4 Tagen) <Roman Golyshev>
* bca9754a7b - FIR Completion: Move completion from available scopes to separate class (vor 4 Tagen) <Roman Golyshev>
* 7f3f0faa1a - (tag: build-1.4.20-dev-3775) FIR: Rework overridden members processing in FirTypeScope (vor 4 Tagen) <Denis Zharkov>
* 8ce9b2d061 - (tag: build-1.4.20-dev-3774) KT-34572 Convert to block body action improperly works with suppress annotations (#2969) (vor 4 Tagen) <Toshiaki Kameyama>
* 9e0bb4ce8e - (tag: build-1.4.20-dev-3773) FIR: save resolvePhase of declaration when creating it fake override copy (vor 4 Tagen) <Ilya Kirillov>
* b1d3ab04c2 - (tag: build-1.4.20-dev-3771) FIR [IDE]: provide correct node phase when necessary (vor 4 Tagen) <Ilya Kirillov>
* 119302b016 - (tag: build-1.4.20-dev-3766) [JVM_IR] Run KotlinSteppingTests with the JVM_IR backend. (vor 4 Tagen) <Mads Ager>
* 01f7da66c6 - (tag: build-1.4.20-dev-3762) Mute ProjectTemplateNewWizardProjectImportTestGenerated.**.testMultiplatformApplication (vor 5 Tagen) <Nikolay Krasko>
* 9d18279ec9 - (tag: build-1.4.20-dev-3761) Mute ReferenceResolveTestGenerated.DelegatedPropertyAccessors.InStandardLibrary.testNotNull (vor 5 Tagen) <Nikolay Krasko>
* d87d42348b - Mute flaky GotoWithMultipleLibrariesTest (vor 5 Tagen) <Nikolay Krasko>
* 179bd1cc3d - Mute KotlinUastTypesTest.testEa101715 (vor 5 Tagen) <Nikolay Krasko>
* 950b139804 - Mute CreateFunction.Invoke.testLambdaArgument (vor 5 Tagen) <Nikolay Krasko>
* 496ede7587 - Mute KotlinUastTypesTest.testEa101715 (vor 5 Tagen) <Nikolay Krasko>
* 4135240cc0 - Mute testFunctionBreakpointInStdlib in AS41 (vor 5 Tagen) <Nikolay Krasko>
* 7982283007 - Copy mutes for AS41 from 201 (vor 5 Tagen) <Nikolay Krasko>
* a3c8427cb2 - Mute GradleScriptListenerTest tests (vor 5 Tagen) <Nikolay Krasko>
* 7de5368b4d - Fix AbstractGradleBuildRootsLocatorTest tests (vor 5 Tagen) <Nikolay Krasko>
* 0b2fcd2c4d - Remove mutes for navigation tests (vor 5 Tagen) <Nikolay Krasko>
* ebe0489a74 - (tag: build-1.4.20-dev-3757) Fix joined lines in .bunch (vor 5 Tagen) <Yunir Salimzyanov>
* 70cda1b113 - (tag: build-1.4.20-dev-3756, tag: build-1.4.20-dev-3755, tag: build-1.4.20-dev-3753) Refactor and fix files previously affected by 192 patchset (KTI-315) (vor 5 Tagen) <Yunir Salimzyanov>
* 42da9e62db - Cleanup 192 patchset files (KTI-315) (vor 5 Tagen) <Yunir Salimzyanov>
* 73aa21aab6 - Refactor and fix files previously affected by as36 patchset (KTI-315) (vor 5 Tagen) <Yunir Salimzyanov>
* 27b2e16141 - Cleanup as36 patchset files (KTI-315) (vor 5 Tagen) <Yunir Salimzyanov>
* 0a9089bc72 - (tag: build-1.4.20-dev-3745, tag: build-1.4.20-dev-3744) Set correct base classloader for REPL evaluation (vor 5 Tagen) <Ilya Chernikov>
* f713e8ad36 - Set context classloader before REPL evaluation (vor 5 Tagen) <Ilya Chernikov>
* d0366d3bcb - (tag: build-1.4.20-dev-3743) Failed test clean up (vor 5 Tagen) <Vladimir Dolzhenko>
* 4794297640 - (tag: build-1.4.20-dev-3737) used string template instead of concatenation (vor 5 Tagen) <alexjuca>
* f88e492d11 - (tag: build-1.4.20-dev-3734) Support hmpp in template (vor 5 Tagen) <Kirill Shmakov>
* 11044a3ab5 - (tag: build-1.4.20-dev-3733) Surround with null check: fix incorrect check for 'in' expression (vor 5 Tagen) <Toshiaki Kameyama>
* 1188f4617a - (tag: build-1.4.20-dev-3727) Change file's package to match directory: add space after package keyword if needed (vor 5 Tagen) <Toshiaki Kameyama>
* 1ce39222e3 - (tag: build-1.4.20-dev-3721) Build KMM plugin for AS 4.2 (vor 5 Tagen) <Kirill Shmakov>
* 6ed13ef1b6 - (tag: build-1.4.20-dev-3720) Fix unresolved reference to catch parameter from lambda expression (vor 5 Tagen) <Mikhail Zarechenskiy>
* f2fba8a469 - Fix delegated property resolve when provideDelegate has this as argument (vor 5 Tagen) <Mikhail Zarechenskiy>
* f3be3f449a - (tag: build-1.4.20-dev-3718) Scope function conversion: do not suggest when invoked without receiver (vor 5 Tagen) <Toshiaki Kameyama>
* 8ba5548a0f - (tag: build-1.4.20-dev-3717)  "Eliminate argument of 'when'": do not suggest if 'when' is used as expression and it has no 'else' branch (#2898) (vor 5 Tagen) <Toshiaki Kameyama>
* d965ad0a98 - (tag: build-1.4.20-dev-3716) IfThenToSafeAccessInspection: do not report if condition is SENSELESS_COMPARISON/USELESS_IS_CHECK (#3007) (vor 5 Tagen) <Toshiaki Kameyama>
* 122bba9102 - (tag: build-1.4.20-dev-3715) UnnecessaryVariableInspection: don't report for overriding property (vor 5 Tagen) <Toshiaki Kameyama>
* c29dbee65e - Cover move method refactoring with registry key (disabled by default) (vor 5 Tagen) <Igor Yakovlev>
* ed67517fb9 - Move: make minor refactorings and add GUI form for MoveKotlinMethodDialog (vor 5 Tagen) <aleksandrina-streltsova>
* 5515465760 - Move: Support method moving (vor 5 Tagen) <aleksandrina-streltsova>
* a5368e443c - (tag: build-1.4.20-dev-3711) KT-20421 fixing code generation for the case when "object" extends "class". It should look like: "object: class()". (vor 5 Tagen) <Alex Chmyr>
* 26ca205f7e - Fix a broken hyperlink to Whatsnew at the plugin change-notes (vor 5 Tagen) <Anton Yalyshev>
* ccf285a284 - FIR IDE: do not recreate analysis session for tests now (vor 5 Tagen) <Ilya Kirillov>
* c191373a6b - FIR IDE: always pass ValidityToken to KtAnalysisSessionComponent (vor 5 Tagen) <Ilya Kirillov>
* 2290d2fcc0 - FIR IDE: make FirScopeRegistry belong to a KtFirScopeProvider (vor 5 Tagen) <Ilya Kirillov>
* 7d58588f06 - (tag: build-1.4.20-dev-3709) FIR IDE: Fix `KtFirPropertySymbol::receiverType` (vor 5 Tagen) <Roman Golyshev>
* 8f0aecce58 - (tag: build-1.4.20-dev-3708) JVM_IR: KT-40330 Unify field names for captured 'this' with JVM (vor 5 Tagen) <Dmitry Petrov>
* 24bfc155af - (tag: build-1.4.20-dev-3706) IDE perf tests for K/N: Use Gradle 6.6 (vor 5 Tagen) <Dmitriy Dolovov>
* 6a95317f73 - IDE perf tests for K/N: Switch to 1.4.0 (vor 5 Tagen) <Dmitriy Dolovov>
* f7cb165fb9 - (tag: build-1.4.20-dev-3696) Introduce Fir2IrBuiltIns & move extension function type inside (vor 6 Tagen) <Mikhail Glukhikh>
* 97b10b5ab3 - [FIR2IR] Hack-in setting of extension function type annotation (vor 6 Tagen) <Simon Ogorodnik>
* b1c36feef4 - Minor: regenerate FIR diagnostic tests (vor 6 Tagen) <Mikhail Glukhikh>
* 7e22de1e24 - FIR2IR: insert coerce-to-unit expressions in statement containers (vor 6 Tagen) <Jinseong Jeon>
* 1b3ab53e16 - FIR2IR: set superQualifierSymbol for setters too (vor 6 Tagen) <pyos>
* e9659d9c8a - FIR2IR: make the scope of body of do-while loop transparent (vor 6 Tagen) <Jinseong Jeon>
* 1b6c4329d2 - FIR2IR: handle unbound reference with adapted arguments (vor 6 Tagen) <Jinseong Jeon>
* a26eeb6ee8 - [FIR] Add CLI flag for running extended checkers (vor 6 Tagen) <vldf>
* 2bf1d3fee8 - [FIR] Add messages for extended checkers' warnings (vor 6 Tagen) <vldf>
* 08e2dd3dea - (tag: build-1.4.20-dev-3690) NJ2K: fix implicit type cast in binary expressions (vor 6 Tagen) <Ilya Kirillov>
* d5d57f84e0 - NJ2K: preserve annotations while converting class to object (vor 6 Tagen) <Ilya Kirillov>
* 3d517c3656 - NJ2K: fix retrieving resolutionFacade on empty context elements list (vor 6 Tagen) <Ilya Kirillov>
* de0c216cfa - NJ2K: fix NPE in JavaObjectEqualsToEqOperatorProcessing (vor 6 Tagen) <Ilya Kirillov>
* 38477be484 - (tag: build-1.4.20-dev-3683) [FIR] Make test fail if profiling requested, but misconfigured (vor 6 Tagen) <Simon Ogorodnik>
* 15d4333e81 - [FIR] Add per-pass profiling support to modularized test (vor 6 Tagen) <Simon Ogorodnik>
* 83ded9badf - [FIR] Add pass argument to beforePass of modularized test (vor 6 Tagen) <Simon Ogorodnik>
* 716c3668d6 - (tag: build-1.4.20-dev-3678) [IR] Properly resolve type parameters in case of property accessor (vor 6 Tagen) <Roman Artemev>
* a810dbb41b - (tag: build-1.4.20-dev-3658) IR: fix compiler warnings (vor 6 Tagen) <Alexander Udalov>
* be53467bee - (tag: build-1.4.20-dev-3656) Flaky and muted navigation tests clean up (vor 6 Tagen) <Vladimir Dolzhenko>
* e2a12602a3 - Fixed getPsiMethodWrappers for KtLightMethodForDecompiledDeclaration (vor 6 Tagen) <Vladimir Dolzhenko>
* ee0250bd35 - Reformat file (vor 6 Tagen) <Vladimir Dolzhenko>
* 5c7054a5ab - Fixed src path for mock library (vor 6 Tagen) <Vladimir Dolzhenko>
* 7b80be5c9d - (tag: build-1.4.20-dev-3647) Temporary workaround for gradle issue: wrong navigation for included plugin source code (vor 7 Tagen) <Natalia Selezneva>
* 7dd687cf00 - (tag: build-1.4.20-dev-3646) IR: minor, use lazy instead of lazyVar for readonly value (vor 7 Tagen) <Alexander Udalov>
* a21f273570 - Fix compiler warnings in compiler code (vor 7 Tagen) <Alexander Udalov>
* 9b94e073af - Fix warnings related to OptIn/UseExperimental (vor 7 Tagen) <Alexander Udalov>
* 256f4449ce - IR: annotate obsolete API in IrPluginContext with ObsoleteDescriptorBasedAPI (vor 7 Tagen) <Alexander Udalov>
* 9961bd1fe1 - IR: remove unneeded casts after making IrCall's symbol a simple function (vor 7 Tagen) <Alexander Udalov>
* 3bdbfc1e73 - (tag: build-1.4.20-dev-3642) Output total codegen statistics after IR translation/generation (vor 7 Tagen) <Alexander Udalov>
* c3cbcf6d7f - Slightly improve performance measurements rendering (vor 7 Tagen) <Alexander Udalov>
* 0045b501d5 - (tag: build-1.4.20-dev-3641) FIR IDE: Fix memory leak in thread locals (vor 7 Tagen) <Simon Ogorodnik>
* 76b078b561 - FIR IDE: resolve KtFirLocalVariableSymbol only to IMPLICIT_TYPES_BODY_RESOLVE (vor 7 Tagen) <Ilya Kirillov>
* b8920114f8 - FIR: set resolvePhase to BODY_RESOLVE in deserialized Kotlin declarations (vor 7 Tagen) <Ilya Kirillov>
* c7d6a79c25 - FIR IDE: Fix completion in case of function with parameters (vor 7 Tagen) <Simon Ogorodnik>
* 863de52f7a - (tag: build-1.4.20-dev-3640) Minor: better name for file walking with excludes (vor 7 Tagen) <Nikolay Krasko>
* c30910130e - Remove minor optimization in CodeConformanceTest (vor 7 Tagen) <Nikolay Krasko>
* 01f3bdfc69 - Exclude kotlin-ultimate/ide/common-cidr-native from author check (vor 7 Tagen) <Nikolay Krasko>
* 31ed803ada - More excludes (vor 7 Tagen) <Nikolay Krasko>
* 713dbc225e - Other repositories monitoring (vor 7 Tagen) <Nikolay Krasko>
* fad15b6627 - Rewrite testThirdPartyCopyrights test (vor 7 Tagen) <Nikolay Krasko>
* bb0ea56d63 - Extract traversing through directories to the common code (vor 7 Tagen) <Nikolay Krasko>
* 8db588c7f0 - Optimize testNoBadSubstringsInProjectCode test (vor 7 Tagen) <Nikolay Krasko>
* 2655d9dab3 - Optimize testForgottenBunchDirectivesAndFiles test (vor 7 Tagen) <Nikolay Krasko>
* 3eb89d6dfd - Use own allow list for each repository (vor 7 Tagen) <Nikolay Krasko>
* 8445c8f4a5 - Update copyright conformance excludes (vor 7 Tagen) <Nikolay Krasko>
* 04a1e572a8 - Monitor new usages of kotlin-eap repository (vor 7 Tagen) <Nikolay Krasko>
* d2bf5587d6 - Monitor new usages of kotlin-dev repository (vor 7 Tagen) <Nikolay Krasko>
* 50d85b92da - Remove more kotlin-dev usages (vor 7 Tagen) <Nikolay Krasko>
* be2badc6ed - Remove kotlin-dev from gradle migrate test (vor 7 Tagen) <Nikolay Krasko>
* 0c27e87eb9 - Remove kotlin-dev from gradle configurator tests (vor 7 Tagen) <Nikolay Krasko>
* 3dc3c19c02 - (tag: build-1.4.20-dev-3632, tag: build-1.4.20-dev-3630, tag: build-1.4.20-dev-3627) [Commonizer] Fix ImportAndCheckNavigation IT (vor 7 Tagen) <Dmitriy Dolovov>
* df8b819a55 - (tag: build-1.4.20-dev-3623, tag: build-1.4.20-dev-3620, tag: build-1.4.20-dev-3617, tag: build-1.4.20-dev-3614) JVM_IR: restore dumping for IrLowering phase (vor 7 Tagen) <Georgy Bronnikov>
* c70759673c - (tag: build-1.4.20-dev-3609) [Gradle, JS] Update npm versions (vor 7 Tagen) <Ilya Goncharov>
* 6100166185 - (tag: build-1.4.20-dev-3607) JVM IR: Fix special bridge generation with external Kotlin dependencies (vor 7 Tagen) <Steven Schäfer>
* 730e07c52a - (tag: build-1.4.20-dev-3597) Wizard: fix ExpectedFileTest.kt (vor 7 Tagen) <Ilya Kirillov>
* 35459d2ca7 - (tag: build-1.4.20-dev-3594) "Add not-null asserted (!!) call": add '!!' to receiver of function reference (vor 7 Tagen) <Toshiaki Kameyama>
* 5e5e19f482 - (tag: build-1.4.20-dev-3589) FIR IDE: temporary disable AddFunctionReturnTypeIntention (vor 7 Tagen) <Ilya Kirillov>
* b79deafbc7 - FIR IDE: fix testdata (vor 7 Tagen) <Ilya Kirillov>
* 27c045d035 - FIR IDE: move all all symbol markers to markers package (vor 7 Tagen) <Ilya Kirillov>
* 052e8e5069 - FIR IDE: make a symbol hierarchy a sealed one (vor 7 Tagen) <Ilya Kirillov>
* 018dd673b3 - FIR IDE: simplify containing declaration provider (vor 7 Tagen) <Ilya Kirillov>
* 37ac654444 - FIR IDE: rework high level API (vor 7 Tagen) <Ilya Kirillov>
* cadf99ca1e - FIR IDE: introduce containingDeclarationProvider for symbols (vor 7 Tagen) <Ilya Kirillov>
* b5a4e4c409 - FIR IDE: introduce applicable computation & -based inspection (vor 7 Tagen) <Ilya Kirillov>
* c8ab0766c9 - FIR IDE: Implement symbol restoring for member symbols (vor 7 Tagen) <Ilya Kirillov>
* e4995175a4 - FIR IDE: fix idea-frontend-fir testdata (vor 7 Tagen) <Ilya Kirillov>
* 5f20910c79 - FIR IDE: always try to find symbol origin in overridden symbols (vor 7 Tagen) <Ilya Kirillov>
* a700d1fccb - FIR IDE: resolve kt symbols only to the phase they actually need (vor 7 Tagen) <Ilya Kirillov>
2020-08-24 17:07:33 +02:00
Nick e7b12b9bb1 [FIR] Fix false positive SUPER_NOT_AVAILABLE 2020-08-24 17:23:32 +03:00
Dmitry Petrov a2dabe11c5 JVM KT-41150: Fix backward compatibility for inline vals in inline class
In 1.3.x, for inline class member inline vals 'getFoo-impl' method was
generated in corresponding inline class.
Since 1.4.0, getters for properties returning inline class values are
mangled (so corresponding getters are named 'getFoo-<mangling_hash>'.
However, to maintain backward compatibility with libraries compiled with
1.3.x, inliner should be able to find 'getFoo-impl' method in the
bytecode.
2020-08-24 16:17:12 +03:00
Vladimir Ilmov 27a22fc1e9 Cleanup Coroutine panel in case connection gets disposed soon after
creation.
2020-08-24 15:09:14 +02:00
Vladimir Ilmov cb2ab4676b (CoroutineDebugger) Top node added to prevent dumpCoroutine() call
Panel gather information from the agent on each breakpoint hit.
2020-08-24 15:09:13 +02:00
Alexander Udalov fa45650fd0 JVM IR: specialize ExpressionCodegen.visitFunctionAccess for constructors
This makes the code a bit clearer, and gets rid of some extra type
mapper invocations when generating constructor calls.
2020-08-24 14:51:52 +02:00
Ilya Kirillov f9bd935ac6 Wizard: fix missing module templates 2020-08-24 15:48:02 +03:00
Kirill Shmakov 5a91dd0439 Update main wizard tests 2020-08-24 15:43:08 +03:00
Kirill Shmakov 147a8c357d Wizard: switch androidx.core -> android.material 2020-08-24 15:43:08 +03:00
Kirill Shmakov 57e9e9a2a1 Wizard: add android.useAndroidX property 2020-08-24 15:43:07 +03:00
Kirill Shmakov 9e88d61be4 Wizard: switch android:allowBackup
Otherwise template could leak sensitive data.
2020-08-24 15:43:06 +03:00
Kirill Shmakov 94ae839d2c Wizard: update Android Appcompat version 2020-08-24 15:43:03 +03:00
Kirill Shmakov 06f9a4e228 Wizard: update Android Gradle plugin version 2020-08-24 15:43:02 +03:00
Roman Artemev a095909d5c [Plugin API] Provide special context in EP for link-time resolve
- requires to customize declarations from synthetic declarations
2020-08-24 15:37:39 +03:00
Steven Schäfer ea98062241 JVM IR: Fix compilation of inline functions in anonymous objects...
...in class members. The corresponding classes end up nested in the
class initializer of the surrounding class and we need to take this into
account when creating instances of ClassCodegen.

This fixes KT-40332 on the JVM IR backend.
2020-08-24 14:10:36 +02:00
Ilya Matveev ce02982226 CocoaPods: Skip synthetic task on non-mac hosts
This patch performs the following changes:

1. Create synthetic tasks even if synthetic projects are
not supported on the current host. This change simplifies
configuring dependencies between these tasks and custom user
tasks at the user side.

2. Disable synthetic tasks if synthetic projects are not supported
on the current host

Issue #KT-40834 Fixed
2020-08-24 12:04:50 +00:00
Alexander Udalov b10cc6657e Fix loading of builtins resources in kotlin-reflect in Java modular mode
The main change here is that when kotlin-reflect is being run under Java
9+, we use another implementation of BuiltInsResourceLoader (see
libraries/reflect/api/src/java9) which loads .kotlin_builtins files from
the java.lang.Module instance of kotlin-stdlib, instead of the class
loader of kotlin-reflect, which may not have access to those resources.

If the application is being run in the old (classpath) mode, that Module
represents the unnamed module, which contains everything on the
classpath, and everything works as before. But if it's being run in the
modular mode, that Module instance is an encapsulated module for
kotlin-stdlib classes and resources, exactly where .kotlin_builtins
files are located.

This fixes a regression in 1.4.0. Prior to 1.4, kotlin-reflect and
kotlin-stdlib were not named modules (see KT-21266) and were loaded as
_automatic_ modules even if the application was run in the modular mode.
Apparently, they shared the same class loader in that case and looking
up .kotlin_builtins resources worked.

This change was supposed to go alongside
828cc6dbf3, but was overlooked because
adding module-info to standard libraries was postponed at that point.

Also slightly refactor Java9ModulesIntegrationTest to simplify running
compiled code, and add a smoke test on using kotlin-reflect in modular
mode.

 #KT-40842 Fixed
2020-08-24 13:30:00 +02:00
Alexander Udalov 201fa849b8 Workaround problem with log4j warnings in CLI tests
#KTI-166
2020-08-24 13:30:00 +02:00
Nick 05cfb654ba [FIR] Fix removeAtInt test 2020-08-24 13:38:43 +03:00
Nikolay Krasko 2b983b1c20 Mute flaky JavaAgainstKotlinBinariesCheckerTestGenerated.testEnumStaticImportInJava 2020-08-24 13:20:31 +03:00
Ilya Goncharov 2d8643b6ef [Gradle, JS] Add nowarn flag for kotlin2js
^KT-41340 fixed
2020-08-24 13:05:22 +03:00
Nick aeae898b94 [FIR] Fix issues with properties' fake sources 2020-08-24 11:06:45 +03:00
Nick 61e21dadec [FIR] Add 3 type mismatch diagnostics 2020-08-24 11:06:12 +03:00
Nick c8f8908a01 [FIR] Add NO_THIS & INSTANCE_ACCESS_BEFORE_SUPER_CALL 2020-08-24 11:06:10 +03:00
Nick 7e1c2cfd36 [FIR] Add diagnostic INAPPLICABLE_LATEINIT_MODIFIER + some builtin types 2020-08-24 11:06:06 +03:00
Nick 091e12c093 [FIR] Add diagnostic CONFLICTING_PROJECTION 2020-08-24 11:06:04 +03:00
Dmitriy Dolovov d40bca4143 [Commonizer] Short-circuiting of type aliases
^KT-41220
2020-08-24 12:21:12 +07:00
Vyacheslav Gerasimov 8a84af8a6f Build: Fix idea-gradle test task dependency on dist 2020-08-22 14:11:34 +03:00
Mark Punzalan a9359eb530 RangeContainsLowering: Handle unsigned ranges. 2020-08-21 21:15:27 +02:00
Mark Punzalan ceba9f231d RangeContainsLowering: Fix bug in additional condition order for
`until` ranges.
2020-08-21 21:15:27 +02:00
Mark Punzalan 60a2f7d03f RangeContainsLowering: Handle Comparable ranges. 2020-08-21 21:15:27 +02:00
Mark Punzalan 1c1b1b4b0f Initial version of RangeContainsLowering, which optimizes calls to
contains() on ClosedRanges.
2020-08-21 21:15:27 +02:00
Jinseong Jeon ca541337d1 FIR: skip return insertion for lambda w/ Unit return type 2020-08-21 19:16:43 +03:00
Alexander Udalov f1ce668ede IR: minor, don't store unnecessary fields 2020-08-21 17:52:10 +02:00
Alexander Udalov 26eb51a9f9 Minor, fix generateBuiltins test 2020-08-21 17:51:23 +02:00
Nikolay Krasko d170f46bfc Mute flaky fun usages tests 2020-08-21 18:28:21 +03:00
Nikolay Krasko 6293842d81 Mute XCoroutinesStackTraceTestGenerated flaky test 2020-08-21 18:28:21 +03:00
Nikolay Krasko 9d300f56cc Mark SubpluginsIT.testKotlinVersionDowngradeInSupbrojectKt39809 as flaky 2020-08-21 18:28:21 +03:00
Nikolay Krasko 8f785f6bb2 Mute flaky tests in ContinuationStackTraceTestGenerated 2020-08-21 18:28:21 +03:00
Nikolay Krasko fd036c2658 Mute flaky tests in JavaAgainstKotlinBinariesCheckerTestGenerated 2020-08-21 18:28:21 +03:00
Roman Artemev fcca2c6fa3 [JS IR] fix failing test 2020-08-21 17:44:07 +03:00
pyos 5722f889d8 FIR2IR: scan the entire interface tree for delegatable members 2020-08-21 16:50:23 +03:00
Mikhail Glukhikh 99d2fd7c4d [FIR] Handle open in interface correctly during status resolve 2020-08-21 16:50:23 +03:00
Mikhail Glukhikh 8e2c5bf4fe [FIR] Fix exposed visibility checking for enum entries 2020-08-21 16:50:22 +03:00
Mikhail Glukhikh e15e87fded [FIR] Expand aliased type before checking for exposure 2020-08-21 16:50:22 +03:00
Denis Zharkov cb6fbc329a FIR: Simplify FirQualifiedAccess hiearchy
Mostly, it's getting rid of FirQualifiedAccessWithoutCallee and FirModifiableQualifiedAccess
The latter was only used during FIR building to set explicit receiver
that might be done by replace call on explicit receiver

The problem with replaceExplicitReceiver is that for FirComponentCall
explicitReceiver should be not null, so it's needed to perform those tricks
at the generatot
2020-08-21 16:34:46 +03:00
Dmitriy Novozhilov e6837a5b8c [FIR] Unify implementations of toSymbol and getSymbolByLookupTag 2020-08-21 15:28:34 +03:00
Dmitriy Novozhilov d1f6e45b08 [FIR] Cleanup signature of getNestedClassifierScope 2020-08-21 15:27:55 +03:00