Commit Graph

5555 Commits

Author SHA1 Message Date
Ilya Matveev 653fb865c2 Build: Don't generate caches for iOS devices 2019-12-26 18:02:41 +07:00
Elena Lepilkina b3af81deac Added test for typeInfo with arrays on stack 2019-12-26 13:29:49 +03:00
Elena Lepilkina 6ceef9fd53 Proper TypeInfo for arrays on stack for runtime checks 2019-12-26 13:29:49 +03:00
Nikolay Igotti 552984758e Fix local arrays type info. 2019-12-25 20:42:24 +03:00
Nikolay Igotti fb062d600a Zero init stack arrays. 2019-12-25 20:41:12 +03:00
Alexander Gorshenev 2423f423b0 Hacked out ExpectActualResolver quadratic behavior for platform lib compilations 2019-12-25 18:24:04 +03:00
Vasily Levchenko a074e1d6f3 [kotlin compiler][update] 1.4.0-dev-216 (#3716)
* Fix KonanMangler to make it fit new mangle API

(cherry picked from commit c73d3278cbdfc16891521038d4b161e51eeab4ba)

* Rename Appendable methods parameters

(cherry picked from commit 2f90c0e58db0613f5a7e1e659f32f0e1e44d2f70)

* [kotlin compiler][update] 1.4.0-dev-216

* 4efab51751 - (tag: build-1.4.0-dev-216) Fix allopen call from UL methods (3 days ago) <Igor Yakovlev>
* 8d02d00f22 - (tag: build-1.4.0-dev-214) [IR Serialization] Removed native-specific hack in mangler (3 days ago) <Igor Chevdar>
* 1f55b59fa3 - (tag: build-1.4.0-dev-210) Unmute a fixed Fir2IrText test (3 days ago) <pyos>
* 26822a0cde - Minor: IGNORE_BACKEND: ANY_FIR -> IGNORE_BACKEND_FIR: ANY (3 days ago) <pyos>
* 38a3797325 - (tag: build-1.4.0-dev-206) Unmute FIR2IR test (due to fixed bug in FIR) (3 days ago) <Mikhail Glukhikh>
* 69e9ae94c6 - (tag: build-1.4.0-dev-203) Use snakeyaml from maven instead of from intellij (3 days ago) <Ilya Kirillov>
* 2adcb5dec4 - (tag: build-1.4.0-dev-200) Add the ANY_FIR target for muting Fir2IrText tests (3 days ago) <pyos>
* a4b005fd5d - PSI2IR: generate field writes for all val property assignments (3 days ago) <pyos>
* 92f8432b1e - New J2K: Fix not converted jetbrains nullability annotations for types (3 days ago) <Ilya Kirillov>
* 3840294f44 - (tag: build-1.4.0-dev-199) Add tests for obsolete issues (3 days ago) <Mikhail Zarechenskiy>
* c3ffef1840 - Fix incorrect use of language feature (3 days ago) <Mikhail Zarechenskiy>
* c94dd2939e - (tag: build-1.4.0-dev-196) [NI] Add test for KT-32429 (3 days ago) <Dmitriy Novozhilov>
* e730965bc5 - [NI] Approximate intersection type in type argument to star if it's necessary (3 days ago) <Dmitriy Novozhilov>
* 26f7bf1c21 - Regenerate tests (3 days ago) <Dmitriy Novozhilov>
* e466fd5196 - [NI] Infer type variable to Nothing if all upper constraints are from upper bounds (3 days ago) <Dmitriy Novozhilov>
* 7fed7a840b - [NI] Update some testdata broken in NI (3 days ago) <Dmitriy Novozhilov>
* c311a66e5e - (tag: build-1.4.0-dev-195) Fix 191 & as35 compilation (3 days ago) <Ilya Kirillov>
* d6daaf14f8 - Fix "Protected function call from public-API inline function is prohibited" error (3 days ago) <Ilya Kirillov>
* 2dcc617774 - (tag: build-1.4.0-dev-192) Minor: reformat (4 days ago) <Nikolay Krasko>
* e99dc0f87f - Show only unique diagnostics in psi checker (KT-35578) (4 days ago) <Nikolay Krasko>
* 75beaa861f - Use abstract class to prevent GradleDaemonAnalyzerTestCase running as test (4 days ago) <Nikolay Krasko>
* 3e48494837 - Proper ignore new daemon tests without warning about tests absence (4 days ago) <Nikolay Krasko>
* 19422b12b4 - (tag: build-1.4.0-dev-189) Build: Add buildScanUserData script gradle-build-scan-snippets (4 days ago) <Vyacheslav Gerasimov>
* c89def9e06 - (tag: build-1.4.0-dev-188) [minor] Update test data for 1.4 (4 days ago) <Victor Petukhov>
* 254dc8f71c - (tag: build-1.4.0-dev-183) Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support (4 days ago) <Michael Kuzmin>
* ae0efa77e3 - [minor] updating fir testdata (4 days ago) <Ilya Chernikov>
* 75c94f3b0f - (tag: build-1.4.0-dev-180) Build: Upgrade kotlin-build-gradle-plugin to 0.0.8 (4 days ago) <Vyacheslav Gerasimov>
* 20faa9e3e4 - Build: Make use of user & password properties in build cache configuration (4 days ago) <Vyacheslav Gerasimov>
* e43ea7e183 - Build: Add build cache user and password properties to BuildProperties (4 days ago) <Vyacheslav Gerasimov>
* 1ee54d74d0 - (tag: build-1.4.0-dev-178) [FIR] Use FIR resolution API in explorer window (4 days ago) <Simon Ogorodnik>
* 87c698f843 - [FIR] Remove obsolete total kotlin resolve test (4 days ago) <Simon Ogorodnik>
* a3d531e8b4 - [FIR] Extract jvm-only call conflict resolver (4 days ago) <Simon Ogorodnik>
* 05308a3652 - [FIR] Introduce module for all jvm extensions (4 days ago) <Simon Ogorodnik>
* 99489321f1 - (tag: build-1.4.0-dev-177) [FIR] Add forgotten test data for old FE test (4 days ago) <Mikhail Glukhikh>
* fe8d68ecc7 - Use different transformers per module in FIR diagnostics tests (4 days ago) <Mikhail Glukhikh>
* c4e6f8a640 - Cache FirPackageMemberScope in ScopeSession instead of member scope provider (4 days ago) <Mikhail Glukhikh>
* cb93b25fca - FIR: make possible to use differently typed IDs in ScopeSession (4 days ago) <Mikhail Glukhikh>
* 4d1b032c1f - Rename: FirSelfImportingScope -> FirPackageMemberScope (4 days ago) <Mikhail Glukhikh>
* 4e14d04926 - (tag: build-1.4.0-dev-173) [minor] fix testdata for compiler 1.4 (4 days ago) <Ilya Chernikov>
* 6e6d9ae795 - (tag: build-1.4.0-dev-170) FIR body resolve: start analyzing files with independent context (4 days ago) <Mikhail Glukhikh>
* ada7f3da6c - FIR: resolve anonymous initializer in context independent mode (4 days ago) <Mikhail Glukhikh>
* 99643e1b2d - FIR: do not run full tower resolve on integer literal type (4 days ago) <Mikhail Glukhikh>
* cb3f02d015 - FIR modularized test: do not print unnecessary stuff to the console (4 days ago) <Mikhail Glukhikh>
* 48c74fd1ba - FIR black box codegen tests: do not print bytecode to the console (4 days ago) <Mikhail Glukhikh>
* ad6f4fa92e - FirResolveBench: do not print unnecessary stuff to the console #KT-35030 Fixed (4 days ago) <Mikhail Glukhikh>
* f38bb19fc6 - [minor] Fix testdata for compiler 1.4 (4 days ago) <Ilya Chernikov>
* 06dc2caf41 - (tag: build-1.4.0-dev-169) Fix compilation for AS (4 days ago) <Ilya Kirillov>
* ac47c0cf3c - (tag: build-1.4.0-dev-168) [minor] Update test data for 1.4 (4 days ago) <Pavel Kirpichenkov>
* ba640be81d - (tag: build-1.4.0-dev-164) KT-32178 Keyword completion: don't add 'fun' after 'suspend' in type position (4 days ago) <Toshiaki Kameyama>
* 1f878049eb - (tag: build-1.4.0-dev-163) Allow @author usage in `...projectWizard.settings.version.maven` package (4 days ago) <Nikolay Krasko>
* 280cb5b60b - Exclude kotlin-test-nodejs-runner generated folders from code conformance test (4 days ago) <Nikolay Krasko>
* 2c684c56a3 - Mute testVersionsAreConsistent test (KT-35567) (4 days ago) <Nikolay Krasko>
* 650cfeaaed - (tag: build-1.4.0-dev-161) Update inline tests to void PROTECTED_CALL_FROM_PUBLIC_INLINE_ERROR (4 days ago) <Mikhael Bogdanov>
* 8322398133 - (tag: build-1.4.0-dev-160) [minor] Fix testdata for compiler 1.4 (4 days ago) <Ilya Chernikov>
* 45e881f03f - (tag: build-1.4.0-dev-155) [NI] Fix inference if inner system has only by "uninteresting" constraint (4 days ago) <Ilya Chernikov>
* 3e537cfcb4 - [minor] [NI] Additional test for loosing type annotations on extension functions (4 days ago) <Ilya Chernikov>
* 1c6da8b9b4 - (tag: build-1.4.0-dev-149) [FIR] Add separate diagnostic tests working in light tree mode (4 days ago) <Mikhail Glukhikh>
* 9efb1fc527 - Change FIR modularized test to be able to work in light tree mode (4 days ago) <Mikhail Glukhikh>
* 3f76408c6f - Protect FirResolveBench from light tree (this prevents cast to KtFile exception) (4 days ago) <Mikhail Glukhikh>
* 09c3279cc7 - (tag: build-1.4.0-dev-148) PSI2IR: Infer smart cast on dispatch receiver of FAKE_OVERRIDE calls (4 days ago) <Dmitry Petrov>
* feda832eb7 - (tag: build-1.4.0-dev-146) Tests: switch off script configuration update in MutlifileRefactoringTests (4 days ago) <Natalia Selezneva>
* 233d400e93 - Scripting: remove unexpected cache clear (4 days ago) <Natalia Selezneva>
* 7ba0a11f43 - (tag: build-1.4.0-dev-144) FIR light tree: add forgotten default bound for type parameters (4 days ago) <Mikhail Glukhikh>
* ebb1ca7cd9 - Fix 'fir:lightTree' build script to be able to run light tree tests (4 days ago) <Mikhail Glukhikh>
* 7abb3fc987 - Protect FirJavaElementFinder from light tree (4 days ago) <Mikhail Glukhikh>
* 774eb62118 - FIR resolve bench: make possible building FIR files via light tree (4 days ago) <Mikhail Glukhikh>
* d702dc862a - FIR light tree: eliminate unused 'project' argument (4 days ago) <Mikhail Glukhikh>
* e8131d6e30 - (tag: build-1.4.0-dev-142) Choose Java field during overload resolution with a pure Kotlin property (4 days ago) <Denis Zharkov>
* aa8578b675 - (tag: build-1.4.0-dev-141) Allow null operators for result and using Result as return type with enabled InlineClasses (4 days ago) <Dmitriy Novozhilov>
* eed5b3f1d1 - Add quickfix for removing redundant spread operator (4 days ago) <Dmitriy Novozhilov>
* ee36fb903f - Allow use expression of array type as named argument for vararg (4 days ago) <Dmitriy Novozhilov>
* 0cb48999ff - (tag: build-1.4.0-dev-135) JVM IR: retain optional annotations as package private classes (5 days ago) <Alexander Udalov>
* 5d3ef4c632 - (tag: build-1.4.0-dev-132) JVM IR: Fix names of fake local variables for inline arguments (5 days ago) <Steven Schäfer>
* c486fa6189 - (tag: build-1.4.0-dev-129) NI: Report incompatible receiver of callable reference (5 days ago) <Denis Zharkov>
* dd56c3d918 - NI: Fix property references overload ambiguity (5 days ago) <Denis Zharkov>
* ab79c3e0a0 - Properly mute (and unmute) tests for unrelated backends (5 days ago) <Alexander Gorshenev>
* ffa368e0a7 - Reconciled -Xklib-mpp with commonizer (5 days ago) <Alexander Gorshenev>
* dc8240c24e - Expect/actual support in klibs under -Xklib-mpp (5 days ago) <Alexander Gorshenev>
* 218d7c31ed - (tag: build-1.4.0-dev-127) Remove muted tests on automatic experimental->release coroutine migration (5 days ago) <Alexander Udalov>
* 3ac5cb9a6e - Minor, fix typos in exception message (5 days ago) <Alexander Udalov>
* ebb9f09656 - (tag: build-1.4.0-dev-117, minamoto/ir/inliner/inliner-no-local-object-copier-1/kotlin) [NI] Fix issues with star projection uncapturing (5 days ago) <Pavel Kirpichenkov>
* 86dc0925b1 - [NI] Preserve constraint position for OnlyInputType during incorporation (5 days ago) <Pavel Kirpichenkov>
* 2fc79856a2 - [NI] Fix OnlyInputTypes for captured types (5 days ago) <Pavel Kirpichenkov>
* 16db3a8b5f - (tag: build-1.4.0-dev-115) Fix compiler and IDE tests on Experimental/RequiresOptIn (5 days ago) <Alexander Udalov>
* 830f0c6137 - (tag: build-1.4.0-dev-113) Fix class not found exception in gradle wizard tests (5 days ago) <Ilya Kirillov>
* 1ab405a86c - Wizard: introduce unit test mode (5 days ago) <Ilya Kirillov>
* 1c30572844 - Wizard: fix android tests (5 days ago) <Ilya Kirillov>
* b2166dc40d - Wizard: fix wrong checking for project kind in UI (5 days ago) <Ilya Kirillov>
* c1ce215b5d - Wizard: disable abbility to switch between targets in existing module (5 days ago) <Ilya Kirillov>
* 7204ab091a - Wizard: add suggested module names for js targets (5 days ago) <Ilya Kirillov>
* fc9f63d49f - Wizard: do not allow to create more than one target of each type (5 days ago) <Ilya Kirillov>
* aa2992e84a - Wizard: add additional applicability checker for template (5 days ago) <Ilya Kirillov>
* 40367635cc - Wizard: remove unused android service (5 days ago) <Ilya Kirillov>
* af174b4f74 - Wizard: format templates code (5 days ago) <Ilya Kirillov>
* b29e6d0c69 - Wizard: add simple js template (5 days ago) <Ilya Kirillov>
* 5d56f3d28b - Wizard: do not print duplicated repositories (5 days ago) <Ilya Kirillov>
* 32a151f561 - Wizard: introduce interceptors for module templates (5 days ago) <Ilya Kirillov>
* 8bf9c31880 - Wizard: add simple JS client template (5 days ago) <Ilya Kirillov>
* 56fccce305 - Wizard: add basic ktor server template (5 days ago) <Ilya Kirillov>
* f927fb3471 - Wizard: introduce ServicesManager & correctly handle disabled gradle & maven Idea plugins (5 days ago) <Ilya Kirillov>
* 9011eecfdf - Wizard: change wizard title to experimental (5 days ago) <Ilya Kirillov>
* b10e157147 - Wizard: Create parent group for current and experimental project wizard (5 days ago) <Ilya Kirillov>
* 8684b0d6c1 - Wizard: show experimental new project wizard only by registry flag (5 days ago) <Ilya Kirillov>
* aca193ddd2 - Wizard: Add initial version of the new project wizard (5 days ago) <Ilya Kirillov>
* 4916f166fe - (tag: build-1.4.0-dev-111) Move `android.test.dependencies` under `dependencies` folder (5 days ago) <Mikhael Bogdanov>
* 0d8036bb14 - (tag: build-1.4.0-dev-109) JVM_IR: do not generate main() when extension main is present (5 days ago) <Georgy Bronnikov>
* 9d0c736f0e - (tag: build-1.4.0-dev-108) Use `assertAllTestsPresentByMetadataWithExcluded` for `addSpreadOperatorForArrayAsVarargAfterSam` IDE quick fix test (5 days ago) <Victor Petukhov>
* 220ea72d65 - (tag: build-1.4.0-dev-87) JVM_IR: add coercion for index in ArrayGet intrinsic (5 days ago) <Georgy Bronnikov>
* cca3f13e48 - (tag: build-1.4.0-dev-85) Added multi-module test on inline functions (5 days ago) <Igor Chevdar>
* bd805d71b1 - (tag: build-1.4.0-dev-84) KT-35463 EA-214439 Pass adjusted files to `KotlinAwareMoveFilesOrDirectoriesDialog` instead of originals (5 days ago) <Roman Golyshev>
* dd8396efbc - (tag: build-1.4.0-dev-72) Convert lambda to reference: support nested class constructor call (#2877) (6 days ago) <Toshiaki Kameyama>
* 646c7ad0af - (tag: build-1.4.0-dev-66) [IDE, klib] Support in IDE klibs with dynamic type (6 days ago) <Zalim Bashorov>
* 34eb664504 - (tag: build-1.4.0-dev-61) Build: Remove teamcity tag setup from settings.gradle (tag via gradle arguments instead) (6 days ago) <Vyacheslav Gerasimov>
* 7eda60d57e - (tag: build-1.4.0-dev-59) Minor, add more tests on signature-polymorphic calls (6 days ago) <Alexander Udalov>
* 64d40b4743 - Support JVM polymorphic signature calls to methods with void return type (6 days ago) <Alexander Udalov>
* e009c7064e - (tag: build-1.4.0-dev-58, tag: build-1.4.0-dev-57) Add -Xopt-in command line argument (6 days ago) <Alexander Udalov>
* cdbabf224f - Introduce RequiresOptIn and OptIn annotations (6 days ago) <Alexander Udalov>
* 33bc3db144 - Deprecate -Xexperimental compiler argument (6 days ago) <Alexander Udalov>
* 571bba7c04 - (tag: build-1.4.0-dev-55) Build: Add teamcity tag to build scans (6 days ago) <Vyacheslav Gerasimov>
* b868e6f8da - (tag: build-1.4.0-dev-50) Rename Appendable methods parameters (6 days ago) <Abduqodiri Qurbonzoda>
* d1c0dfe8ac - (tag: build-1.4.0-dev-45) [FIR] Run System.gc() before each pass in modularized tests (6 days ago) <Simon Ogorodnik>
* 0f71460833 - (tag: build-1.4.0-dev-39) Add missed comment (6 days ago) <Roman Artemev>
* dbb282e60f - Arg postfix postfix completion: fix typo in description (6 days ago) <Toshiaki Kameyama>
* cad3cb1bbe - [KLIB] Fix references to type made from TypeParameter in KotlinMangler  - promote ABI version (6 days ago) <Roman Artemev>
* 3544bf17f4 - (tag: build-1.4.0-dev-38) ConeIntegerLiteralType: extract COMPARABLE_TAG (6 days ago) <Mikhail Glukhikh>
* 3d961ffe8f - ConeTypeContext: use built-in nullable any type (6 days ago) <Mikhail Glukhikh>
* 4d0b121223 - FIR SAM resolution: use built-in nullable any type (6 days ago) <Mikhail Glukhikh>
* c6db5abb14 - FIR call resolve: make earlier qualifier resolver reset (6 days ago) <Mikhail Glukhikh>
* 684bdc44bb - FIR: add implementation of reified type parameter references (6 days ago) <Mikhail Glukhikh>
* cccb95465e - FIR status resolve: update type alias phase (6 days ago) <Mikhail Glukhikh>
* a6b6c9ba18 - Minor: remove when unreachable branches (6 days ago) <Mikhail Glukhikh>
* af3ab9178a - Minor: remove unused imports (6 days ago) <Mikhail Glukhikh>
* 8e53ccb852 - (tag: build-1.4.0-dev-31) Add ML completion jar to the resulting plugin jar (6 days ago) <Roman Golyshev>
* e92985458b - (tag: build-1.4.0-dev-25) JVM_IR: skip private declarations in imported classes (6 days ago) <Georgy Bronnikov>
* 776736a25a - (tag: build-1.4.0-dev-22) [IR] Remapped some forgotten types during IR copying (6 days ago) <Igor Chevdar>
* f099277210 - [JS IR] Unmute tests and add KJS_WITH_FULL_RUNTIME (6 days ago) <Svyatoslav Kuzmich>
* e32ec2a789 - [JS IR BE] Support typeOf (6 days ago) <Svyatoslav Kuzmich>
* 3df8393ede - [JS IR] Properly report compiler errors (6 days ago) <Svyatoslav Kuzmich>
* ea8fa55f12 - (tag: build-1.4.0-dev-17) Rename kotlinJUnitSettings test data folder to fix tests (6 days ago) <Nikolay Krasko>
* 2aa1c40de4 - Avoid checking trivial incorporated constraints (6 days ago) <Denis Zharkov>
* 02f3cedcf4 - FIR: Optimize ConeInferenceContext::typeDepth (6 days ago) <Denis Zharkov>
* b53c00cf69 - FIR: Optimize simple things in inference (6 days ago) <Denis Zharkov>
* 03c2350e79 - (tag: build-1.4.0-dev-14) Keep original casts during reification to avoid VerifyError (6 days ago) <Mikhael Bogdanov>
* 6f16d02920 - (tag: build-1.4.0-dev-13) [gradle-native-plugin] Build static caches instead of dynamic (6 days ago) <Igor Chevdar>
* b6de3c2fcc - (tag: build-1.4.0-dev-9) Disable tail-call optimization for suspend functions with Unit return type (6 days ago) <Ilmir Usmanov>
* 09acdb655d - (tag: build-1.4.0-dev-6) KtScratchExecutionSession: fix compilation for 191 (6 days ago) <Dmitry Gridin>
* 898308c7ba - (tag: build-1.4.0-dev-4) KotlinDebuggerCaches: fix INRE #EA-219472 Fixed (6 days ago) <Dmitry Gridin>
* 3f500c6e92 - KotlinConsoleRunner: fix INRE #EA-219478 Fixed (6 days ago) <Dmitry Gridin>
* 02beb72ab1 - IDEKotlinAsJavaSupport: fix INRE #EA-213321 Fixed (6 days ago) <Dmitry Gridin>
* 4d7fe78a51 - KotlinFunctionBreakpoint: fix INRE #KT-35316 Fixed #EA-219418 Fixed (6 days ago) <Dmitry Gridin>
* 09bcfab047 - KotlinNativeModuleConfigurator: fix INRE #EA-219416 Fixed (6 days ago) <Dmitry Gridin>
* 86f9253fa0 - KtScratchExecutionSession: fix INRE #EA-218701 Fixed (6 days ago) <Dmitry Gridin>
* 78f7ed2c27 - KotlinVariableInplaceIntroducer: fix PIEAE #EA-209820 Fixed (6 days ago) <Dmitry Gridin>
* 580885245d - JavaToKotlinAction: fix KNPE #EA-215300 Fixed (6 days ago) <Dmitry Gridin>
* 34dcc72e7f - idea: fix some `ControlFlowException` #EA-219412 Fixed (6 days ago) <Dmitry Gridin>
* cdabff1941 - KotlinImportOptimizer: should use with `isIndeterminate=false` #KT-34928 Fixed (6 days ago) <Dmitry Gridin>
* 7c9826b60b - PerModulePackageCacheService: fix NPE for code injection #KT-35208 Fixed (6 days ago) <Dmitry Gridin>
* ebf3bfc048 - KotlinIntroduceImportAliasHandler: remove unnecessary transformations (6 days ago) <Dmitry Gridin>
* 9f1f743d55 - (tag: build-1.4.0-dev-2923) FIR: fix test data after Make 'statics visible from nested classes' (6 days ago) <Mikhail Glukhikh>
* 7b1771d432 - (tag: build-1.3.70-dev-2917) Remove braces from 'when' entry: do not suggest when statement is lambda that has no arrow (6 days ago) <Toshiaki Kameyama>
* afc680d5c9 - (tag: build-1.3.70-dev-2915) JavaMapForEachInspection: do not report when lambda parameter is destructuring declaration (6 days ago) <Toshiaki Kameyama>
* 8857827dce - "Add not-null asserted (!!) call": do not add `this` when implicit receiver is not extension receiver (6 days ago) <Toshiaki Kameyama>
* f1c605d0f7 - (tag: build-1.3.70-dev-2914) AddFunctionParametersFix: improve parameter name for 'it' argument (6 days ago) <Toshiaki Kameyama>
* f8f50b2131 - (tag: build-1.3.70-dev-2913) DeprecatedCallableAddReplaceWithInspection: add argument name if needed (6 days ago) <Toshiaki Kameyama>
* 23749bdde7 - Add constructor parameter: add generic types correctly (6 days ago) <Toshiaki Kameyama>
* 76a65af14b - (tag: build-1.3.70-dev-2912) Fix #KT-31967 Typo in inspection name: "+= create new list under the hood" (6 days ago) <tommykw>
* ae827bfd80 - (tag: build-1.3.70-dev-2911) Use declaration-site session in phased FIR instead of use-site session (6 days ago) <Mikhail Glukhikh>
* 37839a181c - Introduce FirIdeModuleDependenciesSymbolProvider #KT-35424 In Progress (6 days ago) <Mikhail Glukhikh>
* befcfad898 - Rename: IdeFirProvider -> FirIdeProvider (6 days ago) <Mikhail Glukhikh>
* 8703da5a25 - Rename: FirResolveState -> FirModuleResolveState to reflect per-module status (6 days ago) <Mikhail Glukhikh>
* 8dbbd64beb - (tag: build-1.3.70-dev-2910) idea: cleanup code (6 days ago) <Dmitry Gridin>
* e77d8657f4 - (tag: build-1.3.70-dev-2904) Fix configuration for AS 3.5 (7 days ago) <Natalia Selezneva>
* 54d707b3b6 - (tag: build-1.3.70-dev-2903) JVM_IR: make constructors of named local classes public (7 days ago) <pyos>
* 82f48cdd11 - JVM_IR: Backwards compatible handling of default tailrec params. (7 days ago) <Mads Ager>
* 90a1b15b77 - (tag: build-1.3.70-dev-2899) [FIR] Make statics visible from nested companion/classes (7 days ago) <Simon Ogorodnik>
* 02cbe990c0 - [FIR] Use fast firSymbolProvider access (7 days ago) <Simon Ogorodnik>
* 2e27862d38 - [FIR] Cache lookupTag lookup on creation from symbol (partially) (7 days ago) <Simon Ogorodnik>
* 0fb883ef62 - [FIR] Use builtinTypes instead of creating new ones (7 days ago) <Simon Ogorodnik>
* 5de69471b0 - [FIR] Use yieldIfNeed instead of yield (7 days ago) <Simon Ogorodnik>
* 81759e8c55 - [FIR] Use proper sourceScope for modularized tests (7 days ago) <Simon Ogorodnik>
* 0a2c457f54 - [FIR] Properly check typealias fqn matching (7 days ago) <Simon Ogorodnik>
* d0c58be4e9 - [FIR] Pass proper use-site session in deserialized provider (7 days ago) <Simon Ogorodnik>
* 85ff834fdb - [FIR] Do not create Kotlin scopes for handledByJava classes (7 days ago) <Simon Ogorodnik>
* dd803cb650 - [FIR] Fix moduleInfo module names (7 days ago) <Simon Ogorodnik>
* 7f51be9cd3 - (tag: build-1.3.70-dev-2889) Minor, change parameter name of FrameMap.enter/leave (7 days ago) <Alexander Udalov>
* f51a0048f6 - Minor, rename test and avoid commented directive (7 days ago) <Alexander Udalov>
* 561cde9d06 - JVM IR: minor, add exception message to IrFrameMap.typeOf (7 days ago) <Alexander Udalov>
* 0b7c11c96e - (tag: build-1.3.70-dev-2883) [JS IR] Fix external fields naming (7 days ago) <Roman Artemev>
* 02db5ea0eb - [JS IR] Fix state machine builder (7 days ago) <Roman Artemev>
* ccb9a4e0a9 - (tag: build-1.3.70-dev-2881, tag: build-1.3.70-dev-2876) [FIR TEST]: add problematic test for T::class.java case (7 days ago) <Mikhail Glukhikh>
* 38b0de4ab6 - (tag: build-1.3.70-eap-3, tag: build-1.3.70-dev-2873) Scripting: do not start multiple request when related file was changed (7 days ago) <Natalia Selezneva>
* fba17d5b9a - Minor, tests: clear memory cache in tests that check scripting file attributes (7 days ago) <Natalia Selezneva>
* 780c61dc16 - Fix line separators in tests (7 days ago) <Natalia Selezneva>
* 31887d2fd1 - Scripting: check if affected scripts are changed using file modification stamp instead of mark them out of date in cache (7 days ago) <Natalia Selezneva>
* ec04f0059c - Scripting: do not threat comments and spaces as modifications inside essential block (7 days ago) <Natalia Selezneva>
* 2f35d6d868 - Scripting: save inputs stamp and diagnostics to file attributes (7 days ago) <Natalia Selezneva>
* 13b4e8716c - Changes inside initscript and pluginManagement blocks should invalidate script configuration (7 days ago) <Natalia Selezneva>
* d68c3584f2 - Scripting: add test for loading configuration for gradle scripts (7 days ago) <Natalia Selezneva>
* 424a2c72b2 - Implement KotlinWordsScanner (7 days ago) <Natalia Selezneva>
* 886e9613b8 - Move script related extensions to separate xml-s (7 days ago) <Natalia Selezneva>
* 2e933507c6 - Fix duplicated “Kotlin Script” definition for Gradle/Kotlin projects (KT-35096) (7 days ago) <Natalia Selezneva>
* 153d894afb - (tag: build-1.3.70-eap-2, tag: build-1.3.70-dev-2870, minamoto/compler-update/kotlin) FIR: Optimize ConeTypeContext::asSimpleType (7 days ago) <Denis Zharkov>
* 1790dcf80c - FIR: Reorder when entries in ConeTypeContext::typeConstructor (7 days ago) <Denis Zharkov>
* a14852a6ec - Minor. Make ConeClassLikeTypeImpl final (7 days ago) <Denis Zharkov>
* ac81f046fd - (tag: build-1.3.70-dev-2867) gradle.kts importing test: don't run on 191 (including as34) (7 days ago) <Sergey Rostov>
* a2d8e2435f - (tag: build-1.3.70-dev-2863) Reorder steps in psi2ir so postprocessing goes before unbound symbols stub generating (7 days ago) <Leonid Startsev>
* 737eaebee6 - (tag: build-1.3.70-dev-2857) FIR resolve: fold flexible types whenever possible #KT-31528 Fixed (7 days ago) <Mikhail Glukhikh>
* 9f5a02dc7a - (tag: build-1.3.70-dev-2853) gradle.kts importing: fix as36 (7 days ago) <Sergey Rostov>
* 637e6f5acc - (tag: build-1.3.70-dev-2852) FIR: add forgotten test data for old FE test (7 days ago) <Mikhail Glukhikh>
* acf48a1af7 - (tag: build-1.3.70-dev-2850) Return NONE from FirSuperTypeScope if nothing is found (7 days ago) <Mikhail Glukhikh>
* 001af68495 - FIR: distinguish lazy/non-lazy nested scopes more clear (7 days ago) <Mikhail Glukhikh>
* fea224749b - FIR: introduce symbolProvider.getNestedClassifierScope to choose lazy/non-lazy (7 days ago) <Mikhail Glukhikh>
* 663d545d79 - FIR: get rid of symbolProvider.getClassDeclaredMemberScope at all (7 days ago) <Mikhail Glukhikh>
* af87a183c2 - FIR: get rid of symbolProvider.getClassDeclaredMemberScope usages in compiler (7 days ago) <Mikhail Glukhikh>
* f497231acd - FIR: try to use JavaSymbolProvider directly in lazy nested classifier scope (7 days ago) <Mikhail Glukhikh>
* 48d60ed4ea - (tag: build-1.3.70-dev-2849) revert accidentally changed vcs.xml (7 days ago) <Sergey Rostov>
* 039090d2bf - (tag: build-1.3.70-dev-2848) gradle.kts importing tests: run gradle 6.0.1 only for that test (7 days ago) <Sergey Rostov>
* 1930ab7c38 - gradle.kts importing: reduce bunch files (7 days ago) <Sergey Rostov>
* c0690ff5f6 - gradle.kts importing: move code to dedicated package (7 days ago) <Sergey Rostov>
* 6e3e65c490 - gradle.kts importing: add support for included builds and fix sub projects (7 days ago) <Sergey Rostov>
* fef193be63 - gradle.kts: add tests for importing scripts configuration (7 days ago) <Sergey Rostov>
* dcd67d79f4 - gradle.kts: script models should be imported in ProjectData key, not in GradleSourceSetData (7 days ago) <Sergey Rostov>
* fd16078a34 - gradle.kts: add clearCaches method for testing (7 days ago) <Sergey Rostov>
* 559b067f91 - gradle.kts: move areSimilar to utils.kt to use in tests (7 days ago) <Sergey Rostov>
* 249f72585d - (tag: build-1.3.70-dev-2847) Fix test data in FIR old FE diagnostics test (7 days ago) <Mikhail Glukhikh>

* Initial expect/actual support in klibs under -Xklib-mpp flag.

(cherry picked from commit a777eb110f478e4537c2f569bd1c7ac24706aaf9)

Co-authored-by: Roman <37534597+romanart@users.noreply.github.com>
Co-authored-by: Abduqodiri Qurbonzoda <a.qurbonzoda@gmail.com>
Co-authored-by: alexander-gorshenev <alexander.gorshenev@jetbrains.com>
2019-12-25 14:17:33 +03:00
Dominic Fischer ce4c4f62f7 Fix typo (#3718) 2019-12-25 14:14:53 +03:00
Nikolay Igotti 17c5647ea4 DCE on linked binaries, to avoid huge size due to static cache. (#3715) (#3717) 2019-12-24 15:58:22 +03:00
Lidonis Calhau a931b5453a Fix typo in bit set doc (#3712) 2019-12-23 15:51:25 +03:00
Vasily Levchenko 58aad06f14 [DI] compilation unit generated on file compilation, instead of file reference 2019-12-22 14:10:16 +01:00
Ilya Matveev b065a35545 Change generated cache dir name according to change in Big Kotlin
The cache directory naming will be changed in the Big Kotlin repo.
This patch takes these changes into account and renames the cache
directory generated during the build.

Corresponding commit in the Big Kotlin:
https://github.com/JetBrains/kotlin/commit/ce2446f80fac6ec088eedd32c7b2e6cfae012e8c
2019-12-21 18:11:31 +03:00
Ilya Matveev b78c7b5f4e Don't include platform lib caches into the restricted distribution 2019-12-21 18:11:31 +03:00
Ilya Matveev d57be72fa7 Fix stdlib cache task dependency 2019-12-21 18:11:31 +03:00
Ilya Matveev 33774cbf77 Platform libs: Generate static cache
The following targets are supported:
macos_x64
ios_x64
ios_arm64
ios_arm32
2019-12-20 18:27:02 +03:00
Nikolay Igotti bc94ff8ed6 Fix for uninitialized TLS variables. (#3708) 2019-12-20 18:18:16 +03:00
SvyatoslavScherbina a66442738c Fix link options and included binaries when building with cache (#3706) 2019-12-20 15:54:10 +03:00
Pavel Punegov 11c01b401b Remove duplicate target 2019-12-20 14:45:03 +03:00
Pavel Punegov c0c056457c Clenup targets usage 2019-12-20 14:45:03 +03:00
Nikolay Igotti b472f9c35e Provide publicly visible identity hash code. (#3690)
* Provide publicly visible identity hash code.

* Review feedback.
2019-12-19 16:46:38 +03:00
Vladimir Ivanov a8d32f6181 Bump konanVersion to 1.4.0 (#3703) 2019-12-19 16:36:53 +03:00
Sergey Bogolepov 8adb1aa6fa [Interop][watchos_arm64] Exclude arm32-specific functions from platform libs 2019-12-19 20:10:59 +07:00
Sergey Bogolepov 178ba2944b [Interop][watchos_arm64] Fix platform libs generation
Pass -O2 flag to Clang to avoid inline asm in wrappers.
2019-12-19 20:10:59 +07:00
SvyatoslavScherbina cb226dfff1 Don't generate getter for synthetic Obj-C class companion (#3700) 2019-12-18 20:06:44 +03:00
Nikolay Igotti a2fc16eb17 v1.3.70 CHANGELOG update. (#3698) 2019-12-18 16:58:28 +03:00
Nikolay Igotti bcead48fde Make IsInstance return proper bool, fixes GH-3686. (#3688)
* Make IsInstance return proper bool, fixes GH-3686.

* Proper fix.
2019-12-18 16:57:26 +03:00
Nikolay Igotti e2e85d15c6 Make library generator more flexible. (#3689) 2019-12-18 11:14:51 +03:00
Nikolay Igotti 16f1a254f6 Rework TLS access. (#3678) 2019-12-18 10:38:59 +03:00
Vasily Levchenko cd77ee2ce8 [kotlin compiler][update] 1.3.70-dev-2841
* 2639ed2c48 - (tag: build-1.3.70-dev-2841, origin/1.3.70) Fix invalid equality for UL methods (14 hours ago) <Igor Yakovlev>
* d6fcde7316 - (tag: build-1.3.70-dev-2837) JS_IR: fix typecheck corner case (20 hours ago) <Anton Bannykh>
* 9a971172c9 - (tag: build-1.3.70-dev-2835) JS: fix object expression constructor delegation to secondary constructors with default arguments (KT-30517 fixed) (23 hours ago) <Anton Bannykh>
* 419d414681 - (tag: build-1.3.70-dev-2833) NI: Update FIR test data after 07269661b4 (2 days ago) <Victor Petukhov>
* 92c2cfa968 - (tag: build-1.3.70-dev-2824) JVM_IR: handle property references at class level (3 days ago) <Georgy Bronnikov>
* 8d303af395 - (tag: build-1.3.70-dev-2818) Build: Add build scan server url setting (3 days ago) <Vyacheslav Gerasimov>
* 724884513e - Build: Extract build cache setup to kotlin-build-gradle-plugin (3 days ago) <Vyacheslav Gerasimov>
* 68ce5dbd90 - Build: Use property for disabling/enabling local build cache (3 days ago) <Vyacheslav Gerasimov>
* bfcac5b091 - Build: Update kotlin-build-gradle-plugin to 0.0.4 (3 days ago) <Vyacheslav Gerasimov>
* 283933ace5 - Build: Add localBuildCacheEnabled property (3 days ago) <Vyacheslav Gerasimov>
* 729b4d33cf - Build: Replace deprecated `compile` configuration with `implementation` in build script of buildSrc (3 days ago) <Vyacheslav Gerasimov>
* 85dcc65695 - Build: Use kotlin-build-gradle-plugin in build script of buildSrc (3 days ago) <Vyacheslav Gerasimov>
* c9cba34d67 - (tag: build-1.3.70-dev-2807) KT-35454 Weird implementation of KtUltraLightFieldImpl.isEquivalentTo (3 days ago) <Alexander Shustanov>
* f45c11c6f2 - (tag: build-1.3.70-dev-2802) Use constantSdkDependencyIfAny in getKeyForSdk as well (3 days ago) <Dmitry Savvinov>
* 5b8be16f13 - (tag: build-1.3.70-dev-2796, tag: build-1.3.70-dev-2787) Kotlin/Native IDE plugin clean-up (3 days ago) <Dmitriy Dolovov>
<* 36ed29d4d5 - Convert KotlinNativeMetaBinary from Java to Kotlin (3 days ago) <Dmitriy Dolovov>
* 511a4089ca - Kotlin/Native IDE plugin clean-up (3 days ago) <Dmitriy Dolovov>
* 992a702762 - Minor: organized imports (3 days ago) <Dmitriy Dolovov>
* deb4025987 - Fix: Use more precise KLIB compatibility check (by metadata version) (3 days ago) <Dmitriy Dolovov>
* 34e1ab4e7a - (tag: build-1.3.70-dev-2783) FIR: Leave single implementation of ConeInferenceContext (3 days ago) <Denis Zharkov>
* 28f4d62ccf - FIR: Add different extension for FirSession.inferenceContext (3 days ago) <Denis Zharkov>
* b33d0c2594 - Minor. Reformat ConeInferenceContext (3 days ago) <Denis Zharkov>
* 0baf1e8fa7 - Minor. Get rid of UniversalConeInferenceContext (3 days ago) <Denis Zharkov>
* bbc9927bce - Minor. Get rid of DataFlowInferenceContext (3 days ago) <Denis Zharkov>
* 0064429339 - Avoid using TypeSystemInferenceExtensionContextDelegate in FIR (3 days ago) <Denis Zharkov>
* 25fdbdfecb - (tag: build-1.3.70-dev-2776) NI: Update FIR test data (3 days ago) <victor.petukhov>
* a19f8ffe6a - (tag: build-1.3.70-dev-2771) Revert "Debugger: Add IR-powered ranking tests" (3 days ago) <Yan Zhulanow>
* 1534e2b76d - (tag: build-1.3.70-dev-2765) NI: Actualize FIR test after 2d5a05466d (4 days ago) <Victor Petukhov>
* 07269661b4 - (tag: build-1.3.70-dev-2764) NI: Allow to resolve to functions with SAM conversion and passing array without spread as vararg (with warning) ^KT-35224 Fixed (4 days ago) <Victor Petukhov>
* fe875d628d - (tag: build-1.3.70-dev-2761, tag: build-1.3.70-dev-2759) Revert "[FIR] Fix outputs for logs of modularized test" (4 days ago) <Simon Ogorodnik>
* 60cc9fa6f5 - (tag: build-1.3.70-dev-2757) Revert "[FIR] Fix outputs for logs of modularized test" (4 days ago) <Simon Ogorodnik>
* 71cb65c064 - (tag: build-1.3.70-dev-2750) NI: Add flexible Nothing to trivial constraints to filter it (4 days ago) <victor.petukhov>
* 2d5a05466d - NI: Fix some unwanted exclusions constraints with remained corresponding optimization (4 days ago) <victor.petukhov>
* 15f6beed57 - (tag: build-1.3.70-dev-2749) Fix Compose extension points in compiler.xml (4 days ago) <Juan Chen>
* b95e7dfb6f - (tag: build-1.3.70-dev-2747) Don't mark super call to method from any as interface one (4 days ago) <Mikhael Bogdanov>
2019-12-17 09:26:52 +01:00
Abduqodiri Qurbonzoda fd1a0804f3 Commonize Float.rangeTo(Float) #KT-35299
(cherry picked from commit ae819b82974e585040c9c889e0cd8376bc2efdb7)
2019-12-17 09:26:52 +01:00
SvyatoslavScherbina e1bb426e55 Fix link conflicts between multiple non-debug static frameworks (#3662)
Avoid exporting symbols that aren't required externally.
2019-12-16 17:12:20 +03:00
Pavel Punegov 376d9eee20 Use workDir to fix bitcode-build-output that leaves a.out 2019-12-16 17:10:19 +03:00
Vasily Levchenko c7499e281d [kotlin compiler][update] 1.3.70-dev-2743
* df2adb060c - (tag: build-1.3.70-dev-2743) Bumped K/N version (5 hours ago) <Igor Chevdar>
* a7b3f26cef - [native-gradle-plugin] Supported klib cache (building and using) (5 hours ago) <Igor Chevdar>
* 364d6a5afa - [Gradle, JS] Actualize NPM dependencies (5 hours ago) <Ilya Goncharov>
* f1f2e1830b - (tag: build-1.3.70-dev-2742) [FIR-TEST] Fix incorrect testdata (5 hours ago) <Dmitriy Novozhilov>
* 4faa2c0c2c - [FIR] Replace static cone types for integers with default classIds in ILT (5 hours ago) <Dmitriy Novozhilov>
* c6b9593157 - [FIR-TEST] Add identity checker of old frontend and fir testdata to old FE diagnostics tests (5 hours ago) <Dmitriy Novozhilov>
* 579cb5014a - [FIR-TEST] Add `!FIR_DUMP` directive to diagnostics tests from old frontend (5 hours ago) <Dmitriy Novozhilov>
* 2536fa0cd5 - [FIR-TEST] Add new testdata generated after changes in previous commit (5 hours ago) <Dmitriy Novozhilov>
* e9c02a1cca - [FIR-TEST] Add fir diagnostics test based on diagnostics tests from old frontend (5 hours ago) <Dmitriy Novozhilov>
* e7f8c8e155 - [TEST] Regenerate tests after previous commit (5 hours ago) <Dmitriy Novozhilov>
* 5b1f96ba1b - [TEST] Add ability to exclude some testdata with pattern in test generator (5 hours ago) <Dmitriy Novozhilov>
* ae15fa7676 - [FIR] Fix outputs for logs of modularized test (5 hours ago) <Dmitriy Novozhilov>
* bb301f8aca - (tag: build-1.3.70-dev-2740) JVM_IR: fix wrong check in skipping captured vars (6 hours ago) <Georgy Bronnikov>
* 26032e4297 - (tag: build-1.3.70-dev-2739) Split exception table on finally insertion before non-local return (6 hours ago) <Mikhael Bogdanov>
* c335015c05 - Generate proper exception table (6 hours ago) <Mikhael Bogdanov>
* 078cfc02a5 - (tag: build-1.3.70-dev-2735) [IR] Removed wrong validation IrEnumConstructorCall behaves differently whether it is inside IrEnumEntry or not. Remove the validation for now. (6 hours ago) <Igor Chevdar>
* 62ef280c53 - Add compiler:ir.serialization.jvm to IDEA plugin (6 hours ago) <Alexander Udalov>
* 5f367278c1 - Psi2ir: support generic properties in class delegation (6 hours ago) <Alexander Udalov>
* 025360edc4 - (tag: build-1.3.70-dev-2733) JVM IR: lookup symbols by name in ProgressionHandlers in known classes only (7 hours ago) <Alexander Udalov>
* 359e49fa02 - (tag: build-1.3.70-dev-2732) [Commonizer] Blacklist conflicting K/N functions from commonization (7 hours ago) <Dmitriy Dolovov>
* c79fcb8cf3 - [Commonizer] Add compatible metadata version checks (7 hours ago) <Dmitriy Dolovov>
* 503fc4883c - [Commonizer] Log duration of each CLI phase (7 hours ago) <Dmitriy Dolovov>
* 18117ed1f3 - [Commonizer] Serialize commonized metadata for KLIB writer (7 hours ago) <Dmitriy Dolovov>
* ce376f49fd - [Commonizer] CLI for Kotlin/Native KLIBs (7 hours ago) <Dmitriy Dolovov>
* 5bc2a4e1e8 - [Commonizer] Fix: Don't commonize contents of stdlib (7 hours ago) <Dmitriy Dolovov>
* ee42e8c64c - [Commonizer] Fix: Correct resolution of nested classes (7 hours ago) <Dmitriy Dolovov>
* a74e364849 - [Commonizer] Support Kotlin/Native forward declarations (7 hours ago) <Dmitriy Dolovov>
* f4780206d9 - [Commonizer] Fix: Skip KNI bridge functions (7 hours ago) <Dmitriy Dolovov>
* 0a6c132241 - [Commonizer] Fix: Cache package fragments with module name (7 hours ago) <Dmitriy Dolovov>
* a3e3b43aed - [Commonizer] Fix: approximate signatures with type parameter upper bounds (7 hours ago) <Dmitriy Dolovov>
* 92656a53ae - [Commonizer] Fix: don't process same package fragments more than once (7 hours ago) <Dmitriy Dolovov>
* 8dc2784fc4 - (tag: build-1.3.70-dev-2727) Reapply "Drop deprecated displayName from descriptor visibility" (8 hours ago) <Pavel Kirpichenkov>
* 6e19004a4f - (tag: build-1.3.70-dev-2717) [Gradle, JS] Add comment for test (9 hours ago) <Ilya Goncharov>
* 1bc47b3f6f - [Gradle, JS] Add test for package.json deserializing (9 hours ago) <Ilya Goncharov>
* b9a529d7d0 - [Gradle, JS] Hack for GSON to get non-null values (9 hours ago) <Ilya Goncharov>
* 7d98d33e3d - [Gradle, JS] Hack for GSON to get non-null values (9 hours ago) <Ilya Goncharov>
* 53480c2266 - (tag: build-1.3.70-dev-2704) [FIR] Fix fir2ir testdata broken in 4777dd6 (11 hours ago) <Dmitriy Novozhilov>
* 39e0c6d55b - (tag: build-1.3.70-dev-2681) Revert "Drop deprecated displayName from descriptor visibility" (27 hours ago) <Pavel Kirpichenkov>
* d9ef7d0c8a - (tag: build-1.3.70-dev-2675) [NI] Update / mute diagnostics (28 hours ago) <Pavel Kirpichenkov>
* 6fa11d1573 - (tag: build-1.3.70-dev-2671) Drop deprecated displayName from descriptor visibility (28 hours ago) <Pavel Kirpichenkov>
* ebc1562b32 - (tag: build-1.3.70-dev-2669) Filter out non-xml model files in modularized test (28 hours ago) <Simon Ogorodnik>
* 48a05e3688 - Support prefixed modularized test-data installation (28 hours ago) <Simon Ogorodnik>
* 498b41b148 - (tag: build-1.3.70-dev-2667) JVM_IR: do not do invokeinterface on Object methods (28 hours ago) <pyos>
2019-12-16 09:58:02 +01:00
Vasily Levchenko 04f5e01771 [Serialization] adoption of 18117ed1f3 2019-12-16 09:58:02 +01:00
Vasily Levchenko 19fccbc1d6 [IR] adoption of 025360edc4 2019-12-16 09:58:02 +01:00
Anastasiya Shadrina 863d8a9208 [Coverage] Support jump expressions 2019-12-16 13:24:30 +07:00
Sergey Bogolepov 34323be304 [StubIr][Metadata] Add support for classes and constructors 2019-12-16 13:06:35 +07:00
Sergey Bogolepov 37f9161ec2 [StubIr][Metadata] Add MappingExtensions class
Parent nodes may introduce some kind of context to their children. For example, type parameters.
Because of that we wrap all extension functions into MappingExtensions class.
2019-12-16 13:06:35 +07:00
Sergey Bogolepov 7e0a65e480 [StubIr][Metadata] Preparations for class metadata support
ClassStubs are containers themselves. Thus we need to make metadata emitter recursive and:
1. Pass context from parent nodes to children.
2. Return result of translation from children back to parent.
2019-12-16 13:06:35 +07:00
Sergey Bogolepov c42b588f12 [StubIr][UniqId] Extend StubIrUniqIdProvider
1. Add support for classes and constructors
2. Lift restrictions on functions and properties
2019-12-16 13:06:35 +07:00
Sergey Bogolepov 47fe152748 [StubIr] StubOrigin improvements
1. Add `isMeta` to StubOrigin.ObjCClass and StubOrigin.ObjCProtocol. It allows to provide proper UniqId to corresponding ClassStubs.
2. Rename StubOrigin.None to StubOrigin.Synthetic because it is makes name self-explaining.
2019-12-16 13:06:35 +07:00
Sergey Bogolepov 0438c7cf85 [StubIr] Refactor ClassStub
1. Add explicit primary constructor
2. Add constructor to the companion object

All these changes are required to make ClassStub translation to KmClass easier.
2019-12-16 13:06:35 +07:00
Sergey Bogolepov d045bd4b09 [Interop][IR Linker] Add support for classes 2019-12-16 13:06:35 +07:00
Sergey Bogolepov f64eecbdad [StubIr] Get rid of ConstructorParameterStub
Replaced it with FunctionParameterStub.
2019-12-16 13:06:35 +07:00
Sergey Bogolepov e187a4b40b [Interop][Metadata] Emit chunked metadata 2019-12-16 13:06:35 +07:00
Pavel Punegov 919db81fba Use forEach {} instead of all {}, because the latter cases closure to be executed in the configure() method.
This method adds doFirst{} for the second time.
2019-12-13 19:49:46 +03:00
Igor Chevdar 724a05ce6a [DCE] Reference public external functions + test 2019-12-13 15:18:11 +03:00
Svyatoslav Scherbina 06e77303a5 Make CBridgeGen symbol names more unique 2019-12-13 14:55:52 +03:00
Svyatoslav Scherbina 64b4d5bd18 Make some unnamed LLVM globals private 2019-12-13 14:55:52 +03:00
Pavel Punegov 66e8ce4cb2 Fix coroutineTestUtil: add missing parameter 2019-12-13 13:39:48 +03:00