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