Commit Graph

5494 Commits

Author SHA1 Message Date
Igor Chevdar ac2729f316 More platform libs fixes 2019-12-10 12:34:47 +03:00
Igor Chevdar 0bc941e324 Called system <rename> for atomic moving of compiler's output 2019-12-09 20:17:59 +03:00
Igor Chevdar 355dd4af1d Fixed visibility problem on ios_arm64 2019-12-09 20:17:59 +03:00
Nikolay Igotti ffd34cf91f Add cache generator to platform lib generator. 2019-12-09 20:17:59 +03:00
Igor Chevdar 76e3ad7a5c Added shortcut option -add-cache for convenience 2019-12-09 20:17:59 +03:00
LepilkinaElena a6e1af87a4 Fixes for allocation/deallocation in runtime and benchmarks (#3649) 2019-12-09 19:41:49 +03:00
Pavel Punegov 65f8a7bbf2 Execute tests on iOS using xcodebuild and idb 2019-12-09 19:12:38 +03:00
Vasily Levchenko 3a1fa2da36 [kotlin compiler][update] 1.3.70-dev-2522
* f6b99955f8 - (tag: build-1.3.70-dev-2522) Update testData in bytecodeText (argument nullability assertions) (3 days ago) <Dmitry Petrov>
* d28743157a - Mute testPlatformValueContains in JVM_IR (3 days ago) <Dmitry Petrov>
* c83f68151c - Support @EnhancedNullability in psi2ir (3 days ago) <Dmitry Petrov>
* 429bf78afa - Add 'Collection#contains' as a special case to psi2ir tests (3 days ago) <Dmitry Petrov>
* 26782d7216 - Fix exception message checking (3 days ago) <Dmitry Petrov>
* a819104d81 - JVM_IR: generate nullability assertions for private operators (3 days ago) <Dmitry Petrov>
* 331347f9fe - Mute tests for explicit 'equals' on boxed primitives (3 days ago) <Dmitry Petrov>
* 89e1941dfd - Update testData for argument nullability assertion tests (3 days ago) <Dmitry Petrov>
* fc7783c7dd - JVM_IR: JvmArgumentNullabilityAssertionsLowering (3 days ago) <Dmitry Petrov>
* c676b58c14 - Minor: JvmBuiltinOptimizationLowering.kt: reformat & fix warnings (3 days ago) <Dmitry Petrov>
* 20fb519f1a - PSI2IR: Generate IMPLICIT_NOTNULL casts for platform type values (3 days ago) <Dmitry Petrov>
* dabf6376db - (tag: build-1.3.70-dev-2520) Update js reachable nodes count after expanding StringBuilder api (3 days ago) <Abduqodiri Qurbonzoda>
* df3bee3038 - (tag: build-1.3.70-dev-2518) Annotations: support injections in string arrays (KT-35222) (4 days ago) <Nicolay Mitropolsky>
* f82fe20d43 - (tag: build-1.3.70-dev-2513) [FIR] fix test data according to last commits (4 days ago) <Mikhail Glukhikh>
* 53935db992 - [FIR] fix compilation error (arose due to commit conflict) (4 days ago) <Mikhail Glukhikh>
* 6f222edb88 - (tag: build-1.3.70-dev-2512) [FIR] Add unresolved type counter to html dump (4 days ago) <Dmitriy Novozhilov>
* bef344b33e - Optimization / clarifying: getFirClassifierContainerFile (4 days ago) <Mikhail Glukhikh>
* 2f3618041b - FIR resolve: eliminate CallInfo.containingDeclaration as unused (4 days ago) <Mikhail Glukhikh>
* c1789a0ecc - FIR IDE: synchronous creation/registration of sessions (4 days ago) <Mikhail Glukhikh>
* 70fa12d9d2 - Extract FirDiagnosticsCollector to have creation logic in one place (4 days ago) <Mikhail Glukhikh>
* 9782ec1b1e - FIR resolve phases: set BODY_RESOLVE phased properly (4 days ago) <Mikhail Glukhikh>
* 26ee02ed02 - FIR: replace resolve phase in FirFile properly (4 days ago) <Mikhail Glukhikh>
* 1539ee30ff - FIR IDE: fix local class containing file search (4 days ago) <Mikhail Glukhikh>
* d35a26a75b - Optimization: introduce FirIdeResolveStateService to cache FirResolveState (4 days ago) <Mikhail Glukhikh>
* b4760bcbd3 - Extract AbstractResolveElementCacheTest to use in FIR cache testing (4 days ago) <Mikhail Glukhikh>
* 74a7a8c881 - FIR resolve (minor): provide source element for resolved qualifier (4 days ago) <Mikhail Glukhikh>
* 8808c775a4 - Introduce FirResolvedTypeRef.delegatedTypeRef to see children types in IDE (4 days ago) <Mikhail Glukhikh>
* 38c1a50c1d - (tag: build-1.3.70-dev-2510) [FIR] Resolve delegating constructor calls (4 days ago) <Dmitriy Novozhilov>
* de77bd526b - [FIR] Change default visibility for sealed class constructors from `private` to `public` (4 days ago) <Dmitriy Novozhilov>
* d840671620 - [FIR] Don't create delegating super constructor call to `kotlin.Enum` for enums (4 days ago) <Dmitriy Novozhilov>
* a0d8e5bde7 - [FIR] Don't create delegating constructor call to `kotlin.Annotation` (4 days ago) <Dmitriy Novozhilov>
* 25720e20f4 - [FIR] Fix bug in defining of completion mode (4 days ago) <Dmitriy Novozhilov>
* 088a949403 - [FIR] Add implicit type counter to html dump (4 days ago) <Dmitriy Novozhilov>
* e58711cde3 - (tag: build-1.3.70-dev-2509) FIR: Select most specific members from supertypes scope (4 days ago) <Denis Zharkov>
* e5166e0e7d - FIR: Extract common parts in FirSuperTypeScope (4 days ago) <Denis Zharkov>
* 43aa1f87df - FIR: Optimize supertypes scope structure (4 days ago) <Denis Zharkov>
* 91fce215d2 - FIR: Simplify super type scopes related code (4 days ago) <Denis Zharkov>
* b8984d154b - (tag: build-1.3.70-dev-2508, origin/rr/zharkov-fir-constructor-type-parameters) FIR: Do not copy type parameters from class to constructors (4 days ago) <Denis Zharkov>
* 20d02dd0ee - (tag: build-1.3.70-dev-2487) Commonize StringBuilder (5 days ago) <Abduqodiri Qurbonzoda>
* 1431e27a7b - Move StringBuilder to its own file (5 days ago) <Abduqodiri Qurbonzoda>
* 0c033297a8 - Move Appendable to its own file (5 days ago) <Abduqodiri Qurbonzoda>
* 50752d47fe - Move CharacterCodingException to its own file (5 days ago) <Abduqodiri Qurbonzoda>
* 956e085b22 - Rename text.kt file to StringBuilderJs.kt (5 days ago) <Abduqodiri Qurbonzoda>
* 2155f1680f - Fix small mistake in CharSequence.lastIndexOf documentation (5 days ago) <Abduqodiri Qurbonzoda>
* 4a0f683bea - (tag: build-1.3.70-dev-2470) JVM_IR: repair after switching Ir.Symbols to non-lazy table (5 days ago) <Georgy Bronnikov>
* 08aeed3b46 - IR: do not use lazyWrapper for Ir.Symbols (5 days ago) <Georgy Bronnikov>
* b0b04eb4cd - (tag: build-1.3.70-dev-2461) Use kotlin specific setting "Optimize imports on the fly" in quick fix (5 days ago) <Vladimir Dolzhenko>
* be5b7adb5a - (tag: build-1.3.70-dev-2455) FIR: Support captured types for sub-arguments (5 days ago) <Denis Zharkov>
* 5b4e8170ae - Fix variables leaking when adding other system under transaction (5 days ago) <Denis Zharkov>
* 692442d7a2 - Do not look into captured star projection as types (5 days ago) <Denis Zharkov>
* 3634d80cae - FIR: Order type variables for fixation (5 days ago) <Denis Zharkov>
* 7f77cc55f3 - (tag: build-1.3.70-dev-2451) Update the test for cleanup (6 days ago) <Ivan Gavrilovic>
* e07b2e30e2 - KT-34258: Make sure to clean up stale files even if no Kotlin sources (6 days ago) <Ivan Gavrilovic>
* a22a60118c - (tag: build-1.3.70-dev-2450) Fix 'Project#afterEvaluate(Action) <...> cannot be executed' on IDE test run (6 days ago) <Sergey Igushkin>
* edfd933348 - (tag: build-1.3.70-dev-2444) Improve Result docs to emphasize that any Throwable exception is caught (6 days ago) <Ilya Gorbunov>
* d84daa0a4b - (tag: build-1.3.70-dev-2442) JVM IR: fix value argument offset in -Xjvm-default=compatibility mode (6 days ago) <Alexander Udalov>
* 3de6289c6c - (tag: build-1.3.70-dev-2439, tag: build-1.3.70-dev-2435, origin/rrinf/kirpichenkov/test, minamoto/ir/inliner/variable-hint/kotlin) [NI] Run completion on subatoms of error calls (6 days ago) <Pavel Kirpichenkov>
* 29fbb8e22f - (tag: build-1.3.70-dev-2428) Update to 193.5233.102 release (KT-35239) (6 days ago) <Nikolay Krasko>
* fa64b5794b - Allow to mute parameterized GradleImportingTestCase JUnit 4 tests (6 days ago) <Nikolay Krasko>
* ca0bff75cd - (tag: build-1.3.70-dev-2425) [KLIB] Keep order of constant properties depending on backend  - Fix K/N performance regression (6 days ago) <Roman Artemev>
* 6ef3831f14 - Build: Take parent directory as rootProject directory in case of buildSrc (6 days ago) <Vyacheslav Gerasimov>
* 462d6ac5b6 - Build: Add remote build cache parameters for teamcity builds (6 days ago) <Vyacheslav Gerasimov>
* d3c1ef9251 - Build: Use kotlin-build-gradle-plugin in buildSrc (6 days ago) <Vyacheslav Gerasimov>
* ab8542bbdb - Build: Advance kotlin-build-gradle-plugin version to 0.0.2 (6 days ago) <Vyacheslav Gerasimov>
* 46d77419a8 - Build: Add build cache properties to kotlin-build-gradle-plugin (6 days ago) <Vyacheslav Gerasimov>
* ad79efeba3 - Build: Use kotlin version embedded to gradle (6 days ago) <Vyacheslav Gerasimov>
* fa7bd3dd2e - (tag: build-1.3.70-dev-2423) FIR: Support SAM constructors for type aliases (6 days ago) <Denis Zharkov>
* ae01d050c9 - FIR: Abstract parts for type alias constructors resolution (6 days ago) <Denis Zharkov>
* fbe7db5471 - FIR: Move constructor processing parts to a separate file (6 days ago) <Denis Zharkov>
* bf68e85a5c - FIR: Support SAM conversion for interfaces containing Object methods (6 days ago) <Denis Zharkov>
2019-12-09 16:52:35 +01:00
Abduqodiri Qurbonzoda 4d560d42f0 Common StringBuilder
(cherry picked from commit e465b75f252c4423b5c253060986e0646a7c6609)
2019-12-09 16:52:35 +01:00
Georgy Bronnikov ecd63a8dd9 Pass SymbolTable to Symbols constructor
(cherry picked from commit 4693cd79d8ce5287616227e1fb7fa566e41a5d65)
2019-12-09 16:52:35 +01:00
Ilya Matveev 1c0e3339e9 Avoid using deprecated API in interop tasks 2019-12-09 20:01:41 +07:00
Ilya Matveev 4cb6d11990 Gradle: Fix task property validation issues 2019-12-09 20:01:41 +07:00
Ilya Matveev d8c6ad4606 Fix Gradle 'konan' plugin tests
The konan plugin checks the GRADLE_METADATA
feature preview option and enables publication
only if this option is specified. But since version
6.0 Gradle metadata is enabled by default and the
corresponding feature preview option was removed
causing failures of konan plugin tests.

This patch removes the checks mentioned above to
fix these tests.
2019-12-09 20:01:41 +07:00
LepilkinaElena 60746d0438 Local escape analysis (#3625) 2019-12-09 15:37:24 +03:00
Sergey Bogolepov 7bae7adc4e Minor grammar fixes 2019-12-09 10:14:07 +07:00
Sergey Bogolepov e81251d553 Mention LLVM-related stuff in HACKING.md 2019-12-09 10:14:07 +07:00
Sergey Bogolepov b508b6f1af Add compiler option that allows to pass arguments to Clang
It is useful for compiler exploration and tuning.
2019-12-09 10:14:07 +07:00
Sergey Bogolepov 78ec094ce5 More precise control over backend phases
Refactor backend phases invocation to make it possible to
disable LLVM optimization pipeline. Also it makes phases separation a bit more clear.
2019-12-09 10:14:07 +07:00
Sergey Bogolepov 625f14d9d1 [samples][coverage] Add support for Windows and Linux hosts. 2019-12-06 12:07:55 +07:00
Vasily Levchenko 2b7c7be451 [debugger][dwarf] generate char as 16 bit type
fixes KT-34336
2019-12-03 18:23:48 +01:00
Vasily Levchenko 3e06b473c8 [tests][plugin][nop] added nop-plugin for basic testing of mechanism loading plugins 2019-12-03 18:23:27 +01:00
Vasily Levchenko 2a54c8f9ba [kotlin compiler][update] 1.3.70-dev-2416
* ca0bff75cd - [KLIB] Keep order of constant properties depending on backend  - Fix K/N performance regression (3 hours ago) <Roman Artemev>
* 6ef3831f14 - Build: Take parent directory as rootProject directory in case of buildSrc (3 hours ago) <Vyacheslav Gerasimov>
* 462d6ac5b6 - Build: Add remote build cache parameters for teamcity builds (3 hours ago) <Vyacheslav Gerasimov>
* d3c1ef9251 - Build: Use kotlin-build-gradle-plugin in buildSrc (3 hours ago) <Vyacheslav Gerasimov>
* ab8542bbdb - Build: Advance kotlin-build-gradle-plugin version to 0.0.2 (3 hours ago) <Vyacheslav Gerasimov>
* 46d77419a8 - Build: Add build cache properties to kotlin-build-gradle-plugin (3 hours ago) <Vyacheslav Gerasimov>
* ad79efeba3 - Build: Use kotlin version embedded to gradle (3 hours ago) <Vyacheslav Gerasimov>
* fa7bd3dd2e - FIR: Support SAM constructors for type aliases (3 hours ago) <Denis Zharkov>
* ae01d050c9 - FIR: Abstract parts for type alias constructors resolution (3 hours ago) <Denis Zharkov>
* fbe7db5471 - FIR: Move constructor processing parts to a separate file (3 hours ago) <Denis Zharkov>
* bf68e85a5c - FIR: Support SAM conversion for interfaces containing Object methods (3 hours ago) <Denis Zharkov>
* 7cd55c85e6 - (tag: build-1.3.70-dev-2416) JVM/JVM_IR: fix mapping of KClass in annotation classes (5 hours ago) <pyos>
* f869be6a71 - (tag: build-1.3.70-dev-2414) JVM IR: do not mangle synthetic methods with inline class parameters (5 hours ago) <Alexander Udalov>
* 66ffdf1b2d - (tag: build-1.3.70-dev-2412) KT-33979 KT-34150 Remove filtering overridden object members and nested objects (5 hours ago) <Roman Golyshev>
* 2552540f71 - (tag: build-1.3.70-dev-2411) IR: wrap exceptions and add file path in per-file lowerings (6 hours ago) <Alexander Udalov>
* fd627603a0 - Refactor CompilationErrorHandler (6 hours ago) <Alexander Udalov>
* 2435b8d9fa - (tag: build-1.3.70-dev-2407) Update testData for enum constructor result type in IR (7 hours ago) <Dmitry Petrov>
* 35c2573b33 - PSI2IR: generate IrEnumConstructorCalls with correct return type (7 hours ago) <pyos>
* 145ad1a6fa - (tag: build-1.3.70-dev-2406) FIR: Minor. Extract common parts in FirCallCompletionResultsWriterTransformer (7 hours ago) <Denis Zharkov>
* 71bf8a14e8 - (tag: build-1.3.70-dev-2405) [FIR] Make `ConeTypeCheckerContext` implements `ConeInferenceContext` (7 hours ago) <Dmitriy Novozhilov>
* 69033b7b15 - (tag: build-1.3.70-dev-2403) JVM_IR: handle @JvmName on annotation getters (8 hours ago) <pyos>
* ac7d9fa90d - (tag: build-1.3.70-dev-2402) JVM_IR: implement -Xpolymorphic-signature (8 hours ago) <pyos>
* fe6be0f436 - (tag: build-1.3.70-dev-2401) Fix failed FIR multi-module test (forgotten test data update) (8 hours ago) <Mikhail Glukhikh>
* 0ff77bd3c5 - (tag: build-1.3.70-dev-2394) Add UL support for const fields initializers (22 hours ago) <Igor Yakovlev>
* 775eb67219 - (tag: build-1.3.70-dev-2386) NI: Add constraints which contain constraining type without projection ^KT-32243 Fixed ^KT-35172 Fixed (23 hours ago) <Victor Petukhov>
* 65cc0fa463 - (tag: build-1.3.70-dev-2382) PSI2IR: have GeneratorExtensions implement StubGeneratorExtensions (24 hours ago) <pyos>
* a950df3c80 - PSI2IR: copy isPropertyWithPlatformField to GeneratorExtensions (24 hours ago) <pyos>
* 3cae90dd26 - (tag: build-1.3.70-dev-2379) [minor] fix source root creation from imported scripts: (24 hours ago) <Ilya Chernikov>
* f2a4a835e7 - Improve script cli diagnostics (24 hours ago) <Ilya Chernikov>
* 49de5e19fb - Implement repl, script and expressions evaluation support in kotlin runner (24 hours ago) <Ilya Chernikov>
* 531ff92791 - Implement support for expression evaluation in jvm cli compiler (24 hours ago) <Ilya Chernikov>
* 7bb9f97b11 - Allow to separate top-level script declarations and statements with semicolon (24 hours ago) <Ilya Chernikov>
* b8034567ef - Change script definition lookup key from File to ScriptSource (24 hours ago) <Ilya Chernikov>
* 615624802c - Add kotlinx-html test (24 hours ago) <Ilya Chernikov>
* 4439582d23 - Remove unnecessary update of the source roots, simplify interface accordingly (24 hours ago) <Ilya Chernikov>
* 02a71d2cda - Save updated roots before a packagePartProvider is created (24 hours ago) <Ilya Chernikov>
* a190ab260e - Load main-kts jar automatically from scripting plugin, if available (24 hours ago) <Ilya Chernikov>
* 22cb6fa836 - (tag: build-1.3.70-dev-2373) [Gradle, JS] Fix case with null distribution (25 hours ago) <Ilya Goncharov>
* c267357596 - [Gradle, JS] Add distribution DSL (25 hours ago) <Ilya Goncharov>
* fe9ddd9f22 - [Gradle, JS] Check if resourcesDir exists and resourceDir is input directory (25 hours ago) <Ilya Goncharov>
* 053469dcec - [Gradle, JS] Copy index.html from resources to dist (25 hours ago) <Ilya Goncharov>
* b9dee4e93a - (tag: build-1.3.70-dev-2355) Remove assertion on sorted ranges: it could be empty if lambda doesn't contain any linenumber (29 hours ago) <Mikhael Bogdanov>
* ae4a1e3cca - [Gradle, JS] Fix check on Kotlin/JS modules from NPM in DCE (29 hours ago) <Ilya Goncharov>
* 0380380de4 - (tag: build-1.3.70-dev-2351) More cleanups after tests execution (29 hours ago) <Nikolay Krasko>
* 0cbb3a3956 - Remove unused ProjectRootModificationTrackerFixer.kt (29 hours ago) <Nikolay Krasko>
* c12599a045 - Fix test data for testParamTypeLambdaMismatch in >= 192 (29 hours ago) <Nikolay Krasko>
* 408f958273 - (tag: build-1.3.70-dev-2350) [Gradle, JS] Add idle run for debug node tests (29 hours ago) <Ilya Goncharov>
* 38de98429d - (tag: build-1.3.70-dev-2348) Fix importing tests in bunch 183 (30 hours ago) <Andrey Uskov>
* 9643d5d28e - Added import-resolve integration tests (30 hours ago) <Andrey Uskov>
* e9946b21b5 - (tag: build-1.3.70-dev-2344, tag: build-1.3.70-dev-2340) JVM IR: do not hide constructor with inline class types and defaults (31 hours ago) <Alexander Udalov>
* 4e1cd6bcd5 - (tag: build-1.3.70-dev-2338) Mute 2 black-box FIR test due to disallowed Kotlin synthetic properties problem (31 hours ago) <Mikhail Glukhikh>
* 18e8896c08 - (tag: build-1.3.70-dev-2334) [JVM IR] Leave private @JvmDefault methods on interface (33 hours ago) <Kristoffer Andersen>
* 6f8682c950 - [JVM IR] Stabilize accesor names in IR Backend (33 hours ago) <Kristoffer Andersen>
* d1c2862e27 - IR: Align Interface Defaults with Old Backend (33 hours ago) <Kristoffer Andersen>
* b5de625350 - Minor refactor: lifting common code (33 hours ago) <Kristoffer Andersen>
* 6a41700689 - [JVM_IR] Fix interface method resolution (33 hours ago) <Kristoffer Andersen>
* df96841c9d - (tag: build-1.3.70-dev-2333) Prohibit protected method calls from inline function (33 hours ago) <Mikhael Bogdanov>
2019-12-03 18:23:10 +01:00
SvyatoslavScherbina 06eb5d260f Exclude stdlib and platform libs when building cache for tests (#3635) 2019-12-03 16:00:53 +03:00
Sergey Bogolepov b6b447c0d5 [Interop][Metadata] Mark UniqId as public
Public declaration's UniqId should have MSB == 1.
Despite we using our own mangling scheme we still need to respect this convention.
Otherwise IrLinker will go crazy searching for missing local declaration.
2019-12-03 17:23:39 +07:00
Sergey Bogolepov f10965cbec [Interop][StubIR] Add "abstract" member stub modality 2019-12-03 17:23:39 +07:00
Sergey Bogolepov af5f07de17 Fix uniqId computation for property accessors 2019-12-03 17:23:39 +07:00
Sergey Bogolepov d189ff416f Handle lazy IR in llvmSymbolOrigin computation
Since interop libraries have no IR we produce lazy IR for them. Thus we need to handle it when computing `llvmSymbolOrigin`.
2019-12-03 17:23:39 +07:00
Sergey Bogolepov 32bea765f0 [Interop] Add tests for StubIr to metadata translation. 2019-12-03 17:23:39 +07:00
Sergey Bogolepov ee672f31df [Interop] Started to work on StubIr -> Metadata translator
Basic support for function, global properties, and type aliases.
Also added AbbreviatedStubType to make translation to metadata a bit easier.
2019-12-03 17:23:39 +07:00
Sergey Bogolepov 0712a2ae48 [Interop][StubIr] Add origin to TypealiasStub 2019-12-03 17:23:39 +07:00
Sergey Bogolepov a4486de7fa [Interop][StubIr] Add origin to PropertyStub 2019-12-03 17:23:39 +07:00
Sergey Bogolepov cd07dec326 [Interop][StubIr] Add classifier property to AnnotationStub
to make translation to metadata easier
2019-12-03 17:23:39 +07:00
Sergey Bogolepov a194ec18e7 [cinterop] Fix mapping of typedefs to pointers to typedefs
Mapping type aliases from stub ir to metadata is kinda tricky.
We need to preserve references to type alias declarations when translating
expanded types. The problem is that we translate C declarations and types independently.
In the most cases these processes are coherent. But not for type aliases to pointers to type aliases.
This commit fixes it.
2019-12-03 17:23:39 +07:00
Sergey Bogolepov e714f1e067 [Interop] Move dependency resolution into processCLib
Because metadata mode doesn't call compiler we need to
resolve dependencies (including stdlib) by hand. This logic was partially
implemented in `InteropCompiler.kt`. So we move it into `processCLib`.
2019-12-03 17:23:39 +07:00
Sergey Bogolepov 2e22d5a389 [Interop] Add dependency on kotlinx-metadata-klib 2019-12-03 17:23:39 +07:00
Ilya Matveev f25b4bf75f Samples: Update Kotlin version: 1.3.61 2019-12-03 16:19:19 +07:00
Vasily Levchenko c2160eb89a [kotlin compiler][update] 1.3.70-dev-2332 2019-12-02 15:23:00 +01:00
Igor Chevdar 7385bf9473 Supported IrFunction.isOperator
(cherry picked from commit 86dbb83c7f726214cb27dd03425ce7a2e06d2bad)
2019-12-02 15:23:00 +01:00
Pavel Punegov f36a066f4d Exclude lightTree from collision detection
(cherry picked from commit a9fb40dcd5774ba5d26d98cb0680d0f76ba51b15)
2019-12-02 15:23:00 +01:00
Alexander Gorshenev fcba683e72 A native counterpart for plubing metadata and ir versions to klib manifest
(cherry picked from commit 06a515393df6c1c071a551353a2a82fd2252a24c)
2019-12-02 15:23:00 +01:00
Jens Klingenberg aafe34db13 Fix typo (#3628) 2019-12-02 09:55:51 +03:00
Nikolay Igotti 45953f03a5 Properly handle top level properties of inline classes. (#3627) 2019-11-29 17:20:05 +03:00
Vladimir Ivanov f6f02a69c4 Char-based enum shall be mapped to integer-based (#3621)
* Char-based enum shall be mapped to integer-basede

* revised, using actual base type and Byte for constants of CharType

* minor cleanup
2019-11-29 17:19:10 +03:00
Anastasiya Shadrina 9a980920d1 [Coverage] Record methods regions correctly 2019-11-29 17:37:35 +07:00
Leonid Startsev bd0396c71e Refactor psi2irPhase in Native compiler according to bf910f92 commit in
Kotlin

(cherry picked from commit 0995b351eeb5d147074f038892e0aa17eb068302)
2019-11-28 19:18:24 +01:00
Vasily Levchenko 0b8f5746b0 [kotlin compiler][update] 1.3.70-dev-2158
* 1ed23d7c54 - (tag: build-1.3.70-dev-2158) IR: reorganize IrProvider handling (18 hours ago) <Georgy Bronnikov>
* be04912f6f - (tag: build-1.3.70-dev-2155) KT-19574 Code with inferred default parameters and parameter vs property name clashes (#2671) (19 hours ago) <Toshiaki Kameyama>
* 1bbd17c4d6 - Turn off FUS data sending in 1.3.61+ as we as we sent enough in 1.3.60 (20 hours ago) <Anton Yalyshev>
* e38fdae1bc - (tag: build-1.3.70-dev-2154) Regenerate `DiagnosticsTestWithJsStdLibGenerated` (20 hours ago) <Dmitriy Novozhilov>
* 5190ff9733 - [FIR-TEST] Add test with SAM conversion in constructor call (20 hours ago) <Dmitriy Novozhilov>
* 71acd42727 - [FIR-TEST] Add test with ambiguity produced by definitely not null types (20 hours ago) <Dmitriy Novozhilov>
* fa2ef816b1 - Support Gradle instant execution with Kotlin/JVM and Android tasks (20 hours ago) <Sergey Igushkin>
* d59a171b65 - (tag: build-1.3.70-dev-2150) [FIR] Fix isMyTypeVariable in ConeInferenceContext (21 hours ago) <Simon Ogorodnik>
* ffa0896592 - (tag: build-1.3.70-dev-2146) Minor correction of attributes naming (21 hours ago) <Anton Yalyshev>
* c57c9b2e63 - Prepare data for successful FUS Whitelist parsing (21 hours ago) <Anton Yalyshev>
* c72622c6d7 - (tag: build-1.3.70-dev-2142) KT-32551 New J2K: Non-canonical modifiers order inspection is not applied during convertion of inner super class (#2806) (22 hours ago) <Toshiaki Kameyama>
* dbacae94d0 - (tag: build-1.3.70-dev-2138) Fix common super type calculation for captured dynamic types ^KT-32499 Fixed (22 hours ago) <victor.petukhov>
* 1c4c5520a2 - Fix incremental analysis in case of property does not have initializer but could be initialized on a class level (23 hours ago) <Vladimir Dolzhenko>
* c67222c176 - Add ERRORs check to AbstractOutOfBlockModificationTest (23 hours ago) <Vladimir Dolzhenko>
* 144f721a44 - Kotlinify AbstractOutOfBlockModificationTest, p2 (23 hours ago) <Vladimir Dolzhenko>
* 8f8ed4dbcf - Kotlinify AbstractOutOfBlockModificationTest, p1 (23 hours ago) <Vladimir Dolzhenko>
* 567248ebd7 - (tag: build-1.3.70-dev-2136) [FIR] Add default upper bounds to type parameter of synthetic when and try calls (23 hours ago) <Dmitriy Novozhilov>
* 5770d19d61 - [FIR] Fix calculating of completion mode (23 hours ago) <Dmitriy Novozhilov>
* 9c3117ba40 - [FIR] Git rid of creating new when and try fir nodes (23 hours ago) <Dmitriy Novozhilov>
* 8085ec8b0b - [FIR-TEST] Add test with ambiguity between java field and java accessor (23 hours ago) <Dmitriy Novozhilov>
* 3c661dd142 - [FIR-TEST] Add test with unresolved invoke of lambda with receiver (23 hours ago) <Dmitriy Novozhilov>
* 96d3a06129 - [FIR-TEST] Add test with hiding local functions (23 hours ago) <Dmitriy Novozhilov>
* 5d14c76f70 - [FIR-TEST] Add test with unresolved `Array<T>.clone()` (23 hours ago) <Dmitriy Novozhilov>
* 4059fae1b7 - [FIR-TEST] Add test with type mismatch on receiver with captured type (23 hours ago) <Dmitriy Novozhilov>
* 572256e2eb - [FIR-TEST] Add test with not-working bound smartcast (23 hours ago) <Dmitriy Novozhilov>
* 1a2e09e6a5 - (tag: build-1.3.70-dev-2121) ForLoopsLowering: Handle Iterable.withIndex() where the type is a bounded type parameter. (25 hours ago) <Mark Punzalan>
* e8252ea874 - (tag: build-1.3.70-dev-2118) handle kotlin shifts like bitwise binary ops (26 hours ago) <Kevin Bierhoff>
* a9baec4727 - Add headless mode for tests to avoid graphic card switch (26 hours ago) <Nikolay Krasko>
* 54338686d4 - Add test for lambda parameter type (26 hours ago) <Nikolay Krasko>
* eb71e686da - Stable order of generated annotation targets (26 hours ago) <Nikolay Krasko>
* 592df477e9 - Mute MultiModuleHighlightingTest tests (26 hours ago) <Nikolay Krasko>
* 00a70c51f0 - (tag: build-1.3.70-dev-2115) FIR: Generate fake overrides always if there are type parameters (27 hours ago) <Denis Zharkov>
* 8efd59403d - FIR: Avoid redundant substitution when type parameters don't change (27 hours ago) <Denis Zharkov>
* 07a4352809 - FIR: Add hack for Fir2IrVisitor (27 hours ago) <Denis Zharkov>
* 3b7ad066fc - FIR: Substitute type alias constructors properly (27 hours ago) <Denis Zharkov>
* f68929fe74 - FIR: Leave functions type parameters in subsituting scope (27 hours ago) <Denis Zharkov>
* b5ef063b0f - FIR: Cache functions in use-site member scope (27 hours ago) <Denis Zharkov>
* f659dc0bea - FIR: Add synthetic values/valueOf methods to Java classes (27 hours ago) <Denis Zharkov>
* 256f5ca0a1 - FIR: Support inherited default parameters (27 hours ago) <Denis Zharkov>
* c9cb4dff52 - (tag: build-1.3.70-dev-2114) Scripting: introduce ide-specific comparision of script compilation configurations (KT-34626) (27 hours ago) <Natalia Selezneva>
* 07b6dadbf0 - Scripting: move additional classpath to the end of script classpath (KT-34626) (27 hours ago) <Natalia Selezneva>
* 72e99b5863 - Scripting: avoid just in case configuration requests to Gradle (KT-34442) (27 hours ago) <Natalia Selezneva>
* f27e13035a - Minor: introduce helper method to check registry option (27 hours ago) <Natalia Selezneva>
* 7ade2ec576 - Scripting: configurations from gradle import should be always taken into account (KT-34442) (27 hours ago) <Natalia Selezneva>
* 2f1915d85e - Scripting: check that kotlin dsl models are provided during import as soon as possible (27 hours ago) <Natalia Selezneva>
2019-11-28 13:36:59 +01:00
Georgy Bronnikov 40715826ad Adapt to change in ExternalDependenciesGenerator 2019-11-28 10:24:15 +03:00
Vasily Levchenko 128d348dd6 [build][settings] drop partly be6722d44a 2019-11-28 07:19:06 +01:00
Vasily Levchenko e9a069d346 Revert "Added one more property which sets K/N compiler (workaround for bcabbcf3e1) (#3615)"
This reverts commit 604c5f2c79.
2019-11-28 07:19:06 +01:00
Vasily Levchenko 8c77c43e5e [serialization] adoption of eb73650209 2019-11-28 07:19:06 +01:00