Vasily Levchenko 7680722f23 [kotlin compiler][update] 1.4.20-dev-3296
* 36984009e9 - (tag: build-1.4.20-dev-3296, origin/master, origin/HEAD) Add samples for flatten, unzip functions (vor 5 Stunden) <kvirolainen>
* 41d5615608 - Add samples for mapNotNull, find, getOrNull functions (vor 5 Stunden) <Elijah Verdoorn>
* 62df2b3195 - (tag: build-1.4.20-dev-3285) FIR IDE: run SUPER_TYPES & BODY_RESOLVE phases under global lock (vor 20 Stunden) <Ilya Kirillov>
* 7fb408ecd7 - FIR IDE: enable new project wizard to FIR IDE (vor 20 Stunden) <Ilya Kirillov>
* db7119f04d - FIR IDE: fix ability to create new Kotlin files (vor 20 Stunden) <Ilya Kirillov>
* 054d196ec5 - FIR IDE: temporary ignore failing tests (vor 20 Stunden) <Ilya Kirillov>
* 683ec2beff - FIR IDE: make KtScopeProvider thread local (vor 20 Stunden) <Ilya Kirillov>
* f62204fff1 - FIR: move getCallableNames/getClassifierNames from scope to FirContainingNamesAwareScope (vor 20 Stunden) <Ilya Kirillov>
* 36a161080f - FIR IDE: introduce KtType rendering (vor 20 Stunden) <Ilya Kirillov>
* 9f33d0147c - FIR IDE: add info about nullability to KtType (vor 20 Stunden) <Ilya Kirillov>
* 16d22ae7e3 - FIR IDE: correctly build FIR for qualified expressions (vor 20 Stunden) <Ilya Kirillov>
* 66f6fe18d6 - FIR IDE: replace javax threadsafe annotations with custom ones (vor 20 Stunden) <Ilya Kirillov>
* 4595ee2cc0 - FIR IDE: create read only copy of symbol builder only for completion (vor 20 Stunden) <Ilya Kirillov>
* ccf232eaab - FIR IDE: forbid analysis session to be stored in a variable (vor 20 Stunden) <Ilya Kirillov>
* b41a5f9f34 - FIR: make TypeRegistry thread safe (vor 20 Stunden) <Ilya Kirillov>
* 5f424ed1ec - FIR IDE: rewrite low level API (vor 20 Stunden) <Ilya Kirillov>
* 1957be8757 - FIR IDE: fix testdata of tests which now pass (vor 20 Stunden) <Ilya Kirillov>
* 34aa848b15 - FIR: do not allow getting PSI text in RawFirBuilder in stub mode (vor 20 Stunden) <Ilya Kirillov>
* cfc46b0cc8 - FIR IDE: introduce FirIdeAllSourceDependenciesSymbolProvider (vor 20 Stunden) <Ilya Kirillov>
* 7d8ef5c7a2 - FIR IDE: introduce KtFirConstructorDelegationReference (vor 20 Stunden) <Ilya Kirillov>
* 0870ded054 - FIR IDE: introduce KtFirArrayAccessReference (vor 20 Stunden) <Ilya Kirillov>
* 22054c8507 - FIR IDE: use non-fake override fir elements when finding psi for fir (vor 20 Stunden) <Ilya Kirillov>
* d10e3f91fa - FIR IDE: store FirScope strong references only in KtFirAnalysisSession (vor 20 Stunden) <Ilya Kirillov>
* 7033be588c - FIR IDE: regenerate member scope test (vor 20 Stunden) <Ilya Kirillov>
* ea3b2d8310 - KT IDE: fix fully-qualified type resolving (vor 20 Stunden) <Ilya Kirillov>
* 50951fdfc3 - KT IDE: use proper package symbol PSI to fix invalidated access exception (vor 20 Stunden) <Ilya Kirillov>
* 9f9ce6ba61 - Fix compilation of KtFirDelegatingScope (vor 20 Stunden) <Ilya Kirillov>
* 1c195ea2bb - FIR IDE: add kdoc for KtAnalysisSession (vor 20 Stunden) <Ilya Kirillov>
* b8caefa0c4 - FIR IDE: always recreate analysis session in tests to avoid breaking its contract (vor 20 Stunden) <Ilya Kirillov>
* 19efd19c6c - FIR IDE: fix AbstractSymbolByFqNameTest after rebase (vor 20 Stunden) <Ilya Kirillov>
* 94b62e2ac6 - FIR IDE: make context-dependent analysis session to use original cache on read-only mode (vor 20 Stunden) <Ilya Kirillov>
* c0f5c90231 - FIR IDE: separate ValidityOwner to ValidityTokenOwner & ValidityToken (vor 20 Stunden) <Ilya Kirillov>
* 6a6580dd97 - FIR IDE: introduce KtConstructorSymbol.ownerClassId (vor 20 Stunden) <Ilya Kirillov>
* 4653cdf794 - FIR IDE: make KtFirDelegatingScope caching a thread safe (vor 20 Stunden) <Ilya Kirillov>
* ebf20c9706 - Add multi-file tests for primitive completion (vor 20 Stunden) <Roman Golyshev>
* 1b3a1a662f - Add simple completion of class-like symbols (vor 20 Stunden) <Roman Golyshev>
* 20c627ea47 - Implement collecting class-like names in `KtFirStarImportingScope` (vor 20 Stunden) <Roman Golyshev>
* 29ee233bb9 - Remove repeating scopes collected by `buildCompletionContextForFunction` (vor 20 Stunden) <Roman Golyshev>
* e3778d62e3 - Simplify `canBeCalledWith` function (vor 20 Stunden) <Roman Golyshev>
* b90503decb - Move `PackageIndexHelper` to `KtFirStarImportingScope.kt` (vor 20 Stunden) <Roman Golyshev>
* d2fbd8e338 - Remove `KotlinFirCompletionProvider` (vor 20 Stunden) <Roman Golyshev>
* dee58e1d86 - FIR IDE: handle importing scopes in completion in HL API (vor 20 Stunden) <Ilya Kirillov>
* 7aa26944d7 - FIR IDE: rename utils.kt to psiUtils.kt (vor 20 Stunden) <Ilya Kirillov>
* 902b42ae1d - FIR IDE: fix typo in completion testdata (vor 20 Stunden) <Ilya Kirillov>
* c3a3ab9e89 - Implement the completion using high-level API only (vor 20 Stunden) <Roman Golyshev>
* a6dd84a7e4 - FIR IDE: Modify `KtFirAnalysisSession` for completion (vor 20 Stunden) <Roman Golyshev>
* 54946a793a - Fix `FirCompletionContext` for safe access elements (vor 20 Stunden) <Roman Golyshev>
* a2cf01162e - Fix bug with member extensions with explicit receiver (vor 20 Stunden) <Roman Golyshev>
* df03e31b86 - FIR IDE: Add `KtCallableSymbol` abstraction (vor 20 Stunden) <Roman Golyshev>
* a4a2d92c08 - FIR IDE: Make `KtFirReference` implement `KtSymbolBasedReference` (vor 20 Stunden) <Roman Golyshev>
* 2eb439899e - Use index to get symbols from importing scopes (vor 20 Stunden) <Roman Golyshev>
* cefecdef25 - fixup! Iterate on symbols, not on scopes (vor 20 Stunden) <Dmitriy Novozhilov>
* e7f5594ffe - Use more correct check for the constructor symbol (vor 20 Stunden) <Roman Golyshev>
* a3da1ea1a0 - Iterate on symbols, not on scopes (vor 20 Stunden) <Roman Golyshev>
* 708c54f4d2 - Refactor the collecting of callable symbols from scopes (vor 20 Stunden) <Roman Golyshev>
* 81f60bf252 - Add test for smartcast (vor 20 Stunden) <Roman Golyshev>
* ffb907150a - Use information about receivers in completion (vor 20 Stunden) <Roman Golyshev>
* 0f5fc1fa99 - Add `FirSymbolProvider::getAllCallableNamesInPackage` function (vor 20 Stunden) <Roman Golyshev>
* 97d4918ed3 - Expose local scopes to use in completion (vor 20 Stunden) <Denis Zharkov>
* 6129f4bcef - Partial raw FIR building (vor 20 Stunden) <Roman Golyshev>
* a1b621d987 - Completion with FIR (prototype, work-in-progress) (vor 20 Stunden) <Roman Golyshev>
* 2a495c1135 - FIR IDE: introduce composite scopes (vor 20 Stunden) <Ilya Kirillov>
* 9092b33755 - FIR IDE: Introduce module resolve state for completion (vor 20 Stunden) <Ilya Kirillov>
* 1d92fbaa7f - FIR IDE: correctly set symbol origin for fake overridden ones (vor 20 Stunden) <Ilya Kirillov>
* 88548d988a - FIR IDE: implement getCallableNames/getClassifierNames in more scopes (vor 20 Stunden) <Ilya Kirillov>
* 138f11ee27 - FIR IDE: introduce member scope tests (vor 20 Stunden) <Ilya Kirillov>
* f709e6acf3 - FIR IDE: introduce scopes for HL API (vor 20 Stunden) <Ilya Kirillov>
* 6596dc359b - fixup! Completion with FIR (prototype, work-in-progress) (vor 20 Stunden) <Dmitriy Novozhilov>
* d62500531b - FIR: add getClassifierNames for FirScope (vor 20 Stunden) <Ilya Kirillov>
* 656086f90a - Add `FirScope::getCallableNames` function (vor 20 Stunden) <Roman Golyshev>
* 1f3add49f4 - FIR IDE: move trailing comma related registry keys to ide-frontend-independent.xml (vor 20 Stunden) <Ilya Kirillov>
* 055b975699 - FIR IDE: add tests which failing with exceptions inside FIR (vor 20 Stunden) <Ilya Kirillov>
* 9cf4fdfb71 - FIR IDE: add reference info on reference resolve (vor 20 Stunden) <Ilya Kirillov>
* 5c6d636d02 - Minor: reformat fir ide part of GenerateTests.kt (vor 20 Stunden) <Ilya Kirillov>
* 45e01a8b3d - FIR IDE: precalculate DuplicatedFirSourceElementsException error message (vor 20 Stunden) <Ilya Kirillov>
* 964becf138 - FIR IDE: allow the same entity to be accessed from different threads (vor 20 Stunden) <Ilya Kirillov>
* 4c08dfb238 - Add invoke reference resolve test without errors in test data (vor 20 Stunden) <Ilya Kirillov>
* 15ecfd84b4 - FIR IDE: cache KtAnalysisSession for modules (vor 20 Stunden) <Ilya Kirillov>
* 8c0197e081 - FIR IDE: introduce KtAnalysisSessionProvider & helping functions for working with analysis session (vor 20 Stunden) <Ilya Kirillov>
* acb8546583 - FIR IDE: fix ReadOnlyWeakRef error message (vor 20 Stunden) <Ilya Kirillov>
* b09358fe17 - FIR IDE: rename KtFieldSymbol -> KtFirJavaFieldSymbol (vor 20 Stunden) <Ilya Kirillov>
* f98ff2c25e - FIR IDE: always pass resolve state as parameter when getting fir by psi (vor 20 Stunden) <Ilya Kirillov>
* 0c13a7f89a - (tag: build-1.4.20-dev-3275, tag: build-1.4.20-dev-3274, tag: build-1.4.20-dev-3270) Fix accessibility check for experimental declarations from default scope (vor 3 Tagen) <Mikhail Zarechenskiy>
* b403b63f48 - (tag: build-1.4.20-dev-3264, tag: build-1.4.20-dev-3263, tag: build-1.4.20-dev-3262) Ease field initialization check (vor 3 Tagen) <Ilmir Usmanov>
* 6c0abe7e48 - (tag: build-1.4.20-dev-3253, tag: build-1.4.20-dev-3252) [FIR] Fix CliTestGenerated$Jvm.testFirError (vor 3 Tagen) <Nick>
* 9ca4717d11 - (tag: build-1.4.20-dev-3247) Revert "Introduce @FrontendInternals annotation" (vor 3 Tagen) <Pavel Kirpichenkov>
* 7f2efabe6a - (tag: build-1.4.20-dev-3241) [JVM_IR]: Improve stepping for `when`. (vor 3 Tagen) <Mads Ager>
* 1009a240f2 - (tag: build-1.4.20-dev-3233) KT-20357: Add samples for filter functions (vor 3 Tagen) <Dat Trieu>
* ca6e430e89 - (tag: build-1.4.20-dev-3231) JVM IR: Handle nested classes in DelegatedPropertyOptimizer (vor 3 Tagen) <Steven Schäfer>
* da9bff40f0 - JVM IR: Don't remove stores to visible locals in DelegatedPropertyOptimizer (vor 3 Tagen) <Steven Schäfer>
* 983c84d6a6 - (tag: build-1.4.20-dev-3229) Wizard: fix default template compilation when using JS IR (vor 3 Tagen) <Ilya Kirillov>
* e4cd7cdbcf - (tag: build-1.4.20-dev-3221) IR: remove unused code, cleanup (vor 4 Tagen) <Alexander Udalov>
* b30b2e0179 - IR: minor, render duplicate IR node in checker (vor 4 Tagen) <Alexander Udalov>
* 8db1c3611b - IR: introduce abstract class IrDeclarationBase (vor 4 Tagen) <Alexander Udalov>
* 771e7574f4 - IR: make subtypes of IrDeclaration classes (vor 4 Tagen) <Alexander Udalov>
* 3cecf81176 - IR: transform base classes of lazy IR to interfaces (vor 4 Tagen) <Alexander Udalov>
* b02653a524 - IR: remove base classes IrDeclarationBase and IrFunctionBase (vor 4 Tagen) <Alexander Udalov>
* 9152df4702 - PIR: transform base implementation classes to interfaces (vor 4 Tagen) <Alexander Udalov>
* 13766d5075 - (tag: build-1.4.20-dev-3214, tag: build-1.4.20-dev-3213) [Gradle, JS] Update test data (vor 4 Tagen) <Ilya Goncharov>
* 52110a08d9 - [Gradle, JS] Update versions (vor 4 Tagen) <Ilya Goncharov>
* f6356199d3 - (tag: build-1.4.20-dev-3211) Fix typealias usage nullability and annotations lost in deserialization (vor 4 Tagen) <Sergey Igushkin>
* 4063aba677 - (tag: build-1.4.20-dev-3206) Remade launch of `NativeRunConfigurationTest` against master version of gradle plugin (vor 4 Tagen) <Alexander Dudinsky>
* 69ce6bd952 - Add tests for setup native run gutters. (vor 4 Tagen) <Konstantin Tskhovrebov>
* b5d4e4c44c - (tag: build-1.4.20-dev-3200) Enable compatibility metadata variant by default in HMPP (vor 4 Tagen) <Sergey Igushkin>
* 2eb17df962 - (tag: build-1.4.20-dev-3197, tag: build-1.4.20-dev-3189) Do not compute `SamType` too eagerly as it can force member resolution (vor 4 Tagen) <Mikhail Zarechenskiy>
* 6ec0e9546b - (tag: build-1.4.20-dev-3181) Fix 192 compilation for UI for standalone gradle scripts (vor 4 Tagen) <Vladimir Dolzhenko>
* 66c1bd8c89 - (tag: build-1.4.20-dev-3180, tag: build-1.4.20-dev-3177, tag: build-1.4.20-dev-3174, tag: build-1.4.20-dev-3172) Revert "Update KMM plugin user texts." (vor 4 Tagen) <Konstantin Tskhovrebov>
* c0e713980b - (tag: build-1.4.20-dev-3171) Add helpers for getting commonly used services without an opt-in (vor 4 Tagen) <Pavel Kirpichenkov>
* ffc3d8bdfc - Introduce @FrontendInternals annotation (vor 4 Tagen) <Pavel Kirpichenkov>
* eff5839369 - (tag: build-1.4.20-dev-3169, tag: build-1.4.20-dev-3167) "Kotlin Multiplatform Projects are an ~experimental~ Alpha feature." (vor 4 Tagen) <Sergey Igushkin>
* 6c475e614a - (tag: build-1.4.20-dev-3166, tag: build-1.4.20-dev-3165) Minor. Update debugger tests (vor 5 Tagen) <Ilmir Usmanov>
* 68342a1f72 - Initialize fake inliner variables on resume path (vor 5 Tagen) <Ilmir Usmanov>
* bb5a99ec18 - Do not put $completion to LVT if is dead (vor 5 Tagen) <Ilmir Usmanov>
* 9925866293 - (tag: build-1.4.20-dev-3164) 203: Fix compilation (vor 5 Tagen) <Florian Kistner>
* c792092410 - Bump fastutil version to match 203 (vor 5 Tagen) <Florian Kistner>
* c5398e8317 - (tag: build-1.4.20-dev-3163) Move 'radixPrefix' from compiler modules to IDE modules (vor 5 Tagen) <Nikita Bobko>
* 093d4b3108 - (tag: build-1.4.20-dev-3157) Revert "Fix typealias usage nullability and annotations lost in deserialization" (vor 5 Tagen) <Sergey Igushkin>
* 5edbc75d7b - (tag: build-1.4.20-dev-3154) Update KMM plugin user texts. (vor 5 Tagen) <Konstantin Tskhovrebov>
* b57794d96e - (tag: build-1.4.20-dev-3145, tag: build-1.4.20-dev-3144) IR util: IrExpression.isSafeToUseWithoutCopying (vor 5 Tagen) <Jinseong Jeon>
* 7ef1c74bbf - FIR2IR: apply adapted reference conversion to coercion-to-unit (vor 5 Tagen) <Jinseong Jeon>
* 5f80bfd5d4 - (tag: build-1.4.20-dev-3142) [FIR] Don't report UNINITIALIZED_VARIABLE on lateinit local variable (vor 5 Tagen) <Mikhail Glukhikh>
* 54d96a2dd7 - (tag: build-1.4.20-dev-3138) UI for standalone gradle scripts (vor 5 Tagen) <Natalia Selezneva>
* fc874e72b1 - (tag: build-1.4.20-dev-3134, tag: build-1.4.20-dev-3132, tag: build-1.4.20-dev-3129, tag: build-1.4.20-dev-3124, tag: build-1.4.20-dev-3119) [FIR2IR] Initialize components a bit earlier to prevent lateinit errors (vor 5 Tagen) <Mikhail Glukhikh>
* 17b289fa00 - [FIR] Code cleanup: get rid of FirClass.buildUseSiteMemberScope() (vor 5 Tagen) <Mikhail Glukhikh>
* 8bb5488a26 - [FIR] look at intersectionOverride during override processing (vor 5 Tagen) <Mikhail Glukhikh>
* f1356a809e - Fir2IrLazySimpleFunction: generate overridden symbols via FirTypeScope (vor 5 Tagen) <Mikhail Glukhikh>
* 52c01abb83 - (tag: build-1.4.20-dev-3113) Increase Xmx size after investigation OOM problem in KMM-316 (vor 5 Tagen) <Alexander Dudinsky>
* d012cd3272 - Add kotlin-test-junit:install in dependencies for the kotlin-plugin install (vor 5 Tagen) <Alexander Dudinsky>
* ea0099aa39 - Fix testPlatformToCommonExpByInComposite. (vor 5 Tagen) <Alexander Dudinsky>
* 05d6217f78 - Changed gradle-plugin version in Gradle tests. (vor 5 Tagen) <Alexander Dudinsky>
* 6652a7072c - Fix testData due to KT-40551. (vor 5 Tagen) <Alexander Dudinsky>
* 0298795b18 - Add gradle.properties with kotlin.stdlib.default.dependency=false for tests (vor 5 Tagen) <Alexander Dudinsky>
* bc623e97ec -  Add Gradle version 6.5.1 for tests. (vor 5 Tagen) <Alexander Dudinsky>
* 1da05c54be - Change gradle-plugin versions for tests from 1.3.50 to 1.3.72 (vor 5 Tagen) <Alexander Dudinsky>
* f15f5bccc8 - [FIR] Add more diagnostic messages (vor 5 Tagen) <Nick>
* f45de9d8fb - (tag: build-1.4.20-dev-3112) NI: approximate not top-level captured types during code generation (vor 5 Tagen) <Victor Petukhov>
* f6d7e7c52a - (tag: build-1.4.20-dev-3111) CocoaPods: Fix setting custom framework name (vor 5 Tagen) <Ilya Matveev>
* a45f73867a - (tag: build-1.4.20-dev-3104) Add compatibility resolve when SAM conversion was applied partially (vor 5 Tagen) <Mikhail Zarechenskiy>
* 070848a1c1 - (tag: build-1.4.20-dev-3103, tag: build-1.4.20-dev-3102) Fix typealias usage nullability and annotations lost in deserialization (vor 5 Tagen) <Sergey Igushkin>
* ec4f04095c - (tag: build-1.4.20-dev-3101) [FIR] Rearrange FirErrors.kt (vor 5 Tagen) <Nick>
* 207027b84c - (tag: build-1.4.20-dev-3099) [FIR] Fix light tree's supertype FirDelegatedConstructorCall source (vor 5 Tagen) <Nick>
* a59cedcd39 - [FIR] Fix non-fake sources for constructor delegates (vor 5 Tagen) <Nick>
* f74eb07203 - [FIR] Fix incorrect diagnostic behaviour + several enum diagnostics (vor 5 Tagen) <Nick>
* b76f757d47 - [FIR] Add diagnostic for missing primary constructor (vor 5 Tagen) <Nick>
* 0f213e58db - [FIR] Add diagnostic for primary constructor not called (vor 5 Tagen) <Nick>
* bb0e1b7390 - [FIR] Add diagnostic for constructor delegation cycles (vor 5 Tagen) <Nick>
* e841b3a77b - [FIR] Add diagnostic collection to KotlinToJVMBytecodeCompiler (vor 5 Tagen) <Mikhail Glukhikh>
* 9c3b8484b9 - [FIR TEST] Add CLI test with should-be-error (not yet) (vor 5 Tagen) <Mikhail Glukhikh>
* 824991a9dd - (tag: build-1.4.20-dev-3090) Minor. Add tests. (vor 6 Tagen) <Ilmir Usmanov>
* bbd4c21595 - Cleanup spilled variables (vor 6 Tagen) <Ilmir Usmanov>
* 999b41068b - Minor. Refactor variables spilling (vor 6 Tagen) <Ilmir Usmanov>
* 405c9743ef - Do not spill dispatch receiver of suspend functions if it is not used (vor 6 Tagen) <Ilmir Usmanov>
* 5db7957230 - (tag: build-1.4.20-dev-3082) FIR2IR: use type arguments from fully expanded type (vor 6 Tagen) <Jinseong Jeon>
* 606dc2f723 - (tag: build-1.4.20-dev-3073) Fix binary compatibility problems in ImportInsertHelper & ShortenReferences (vor 6 Tagen) <Ilya Kirillov>
* af48f08f9c - (tag: build-1.4.20-dev-3072) NI: take into account flexible types during capturing arguments from expression (vor 6 Tagen) <Victor Petukhov>
* 65ebd02a39 - (tag: build-1.4.20-dev-3068) [FIR] Fix for CanBeReplacedWithOperatorAssignment Checker (vor 6 Tagen) <vldf>
* 6f3df6faf4 - (tag: build-1.4.20-dev-3063) [FIR] Regenerate extended checker tests (vor 6 Tagen) <Mikhail Glukhikh>
* 181a8bb79e - (tag: build-1.4.20-dev-3061) [FIR TEST] Mute failing BB test with Byte/Short.and usage (vor 6 Tagen) <Mikhail Glukhikh>
* 47c47be3d3 - FIR serializer: serialize annotations on FirTypeRef, not ConeKotlinType (vor 6 Tagen) <Jinseong Jeon>
* 0a28e5e031 - Add argument unwrapping for case when argument is named (vor 6 Tagen) <Ivan Kylchik>
* 2e2099afae - [FIR] Introduce NOT_AN_ANNOTATION_CLASS diagnostic (vor 6 Tagen) <Mikhail Glukhikh>
* 8fd087a964 - [FIR] Don't report duplicated UNRESOLVED_REFERENCE on annotation entries (vor 6 Tagen) <Mikhail Glukhikh>
* a6e811a67a - [FIR] Add status to Java annotation constructor (fix after rebase) (vor 6 Tagen) <Mikhail Glukhikh>
* 8379b3794a - [FIR2IR] Return fallback mode for annotation resolved placeholder (vor 6 Tagen) <Mikhail Glukhikh>
* b63257345b - [FIR] Map `Class` to `KClass` in java annotations (vor 6 Tagen) <Dmitriy Novozhilov>
* 282a295d43 - [FIR] Enable arrayOf transformer in completion (inside annotations) (vor 6 Tagen) <Mikhail Glukhikh>
* 721b9b4d8c - [FIR] Resolve annotations as calls (vor 6 Tagen) <Dmitriy Novozhilov>
* bc1fa8ed7f - [FIR] Add constructor for java annotations (vor 6 Tagen) <Dmitriy Novozhilov>
* 644e9843f9 - [FIR] Add initialization of calleeReference for FirAnnotationCall (vor 6 Tagen) <Dmitriy Novozhilov>
* 614291b2cc - [FIR] Make FirAnnotationCall resolvable (vor 6 Tagen) <Dmitriy Novozhilov>
* ffd30566be - [FIR] Add FirErrorResolvedQualifier for qualifiers with resolve diagnostic (vor 6 Tagen) <Dmitriy Novozhilov>
* a5e9401a0a - (tag: build-1.4.20-dev-3058) [configuration] change updater number to 1.4.* and 1.5.* (vor 6 Tagen) <Dmitry Gridin>
* 88f508446a - (tag: build-1.4.20-dev-3054) Make repeat example more expressive (vor 6 Tagen) <Julian Kotrba>
* a5178bb826 - (tag: build-1.4.20-dev-3053) Minor: fix toJavaDuration docs (vor 6 Tagen) <Ilya Gorbunov>
* 99eb7f391b - Fix doc wording around covariance/invariance (vor 6 Tagen) <Ilya Gorbunov>
* 4f73e08704 - (tag: build-1.4.20-dev-3048) [KLIB] Make fake override resolver garbage free as much as possible (vor 7 Tagen) <Roman Artemev>
* 876ee265f2 - [KLIB] Fix memory leak in fake override resolver (vor 7 Tagen) <Roman Artemev>
* e189cb1895 - [KLIB] Fix memory leak in linker through `haveSeen` set (vor 7 Tagen) <Roman Artemev>
* 19b5fda750 - [KLIB] Do not duplicate origin mapping per file (vor 7 Tagen) <Roman Artemev>
* c253042948 - [KLIB] Reduce amount of descriptors loaded during desc-idSig resolution (vor 7 Tagen) <Roman Artemev>
* 851c287105 - [KLIB] Use SoftReference to hold proto memory (vor 7 Tagen) <Roman Artemev>
* add0ad6733 - [KLIB] Change KLIB IO API (vor 7 Tagen) <Roman Artemev>
* 0e54f98b79 - (tag: build-1.4.20-dev-3038) FIR: support adapted callable reference with vararg (vor 7 Tagen) <Jinseong Jeon>
* 4332e95b8a - [FIR] Don't transform setter parameter type if it's given explicitly (vor 7 Tagen) <Mikhail Glukhikh>
* 8813ebd950 - [FIR] Add RedundantSetterParameterType Checker (vor 7 Tagen) <vldf>
* a6c9d869fb - [FIR] Move RedundantCallOfConversionMethod to extended checkers (vor 7 Tagen) <vldf>
* 3349739d1e - (tag: build-1.4.20-dev-3037, tag: build-1.4.20-dev-3017) [FIR] Fixes for RedundantReturnUnitType checker (vor 7 Tagen) <vldf>
* 2384afdd93 - [FIR] refactoring for running extended checkers (vor 7 Tagen) <vladislavf7@gmail.com>
* cfc09048c6 - (tag: build-1.4.20-dev-3016) [FIR] Add RedundantCallOfConversionMethod checker (vor 7 Tagen) <vldf>
2020-08-10 09:37:37 +02:00
2020-05-20 19:52:35 +07:00
2020-07-03 16:40:29 +02:00
2020-07-13 12:52:56 +02:00
2020-06-08 17:26:21 +03:00
2017-03-30 09:51:58 +03:00
2020-06-25 16:56:08 +07:00
2019-10-25 16:05:35 +03:00
2019-12-02 09:55:51 +03:00
2020-07-13 12:52:56 +02:00
2020-07-13 12:52:56 +02:00
2018-09-13 11:48:42 +03:00
2020-07-20 15:42:43 +07:00
2019-01-30 19:11:11 +03:00
2020-06-08 17:26:21 +03:00
2019-09-28 09:53:20 +03:00

official project version

Kotlin/Native

Kotlin/Native is an LLVM backend for the Kotlin compiler, runtime implementation, and native code generation facility using the LLVM toolchain.

Kotlin/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible (such as iOS or embedded targets), or where a developer is willing to produce a reasonably-sized self-contained program without the need to ship an additional execution runtime.

Prerequisites:

  • install JDK for your platform, instead of JRE. The build requires tools.jar, which is not included in JRE;
  • on macOS install Xcode 11 (Xcode 11.5 is required to compile Kotlin/Native from sources)
  • on Fedora 26+ yum install ncurses-compat-libs may be needed
  • on recent Ubuntu apt install libncurses5 is needed

To compile from sources use following steps:

First, download dependencies:

./gradlew dependencies:update

Then, build the compiler and libraries:

./gradlew bundle

To build with experimental targets support compile with -Porg.jetbrains.kotlin.native.experimentalTargets.

The build can take about an hour on a Macbook Pro. To run a shorter build with only the host compiler and libraries, run:

./gradlew dist distPlatformLibs

To include Kotlin compiler in composite build and build against it, use the kotlinProjectPath project property:

./gradlew dist -PkotlinProjectPath=path/to/kotlin/project

It's possible to include in a composite build both Kotlin compiler and Kotlin/Native Shared simultaneously.

After that, you should be able to compile your programs like this:

export PATH=./dist/bin:$PATH
kotlinc hello.kt -o hello

For an optimized compilation, use -opt:

kotlinc hello.kt -o hello -opt

For tests, use:

./gradlew backend.native:tests:run

To generate interoperability stubs, create a library definition file (refer to samples/tetris/.../sdl.def), and run the cinterop tool like this:

cinterop -def lib.def

See the provided samples and INTEROP.md for more details.

The Interop tool generates a library in the .klib library format. See LIBRARIES.md for more details on this file format.

S
Description
The Kotlin Programming Language.
Readme 2.1 GiB
Languages
Kotlin 79.9%
Java 10.4%
Swift 4.3%
C 2.8%
C++ 2.1%
Other 0.3%