*38975e4e7c- (tag: build-1.4.20-dev-4477) Add changelog for 1.4.10 (vor 23 Stunden) <Lilia> *7755d9fe24- (tag: build-1.4.20-dev-4472) Mark used parameters as disabled in parameter info popup (vor 2 Tagen) <cketti> *81339d54eb- (tag: build-1.4.20-dev-4469) Added :core:compiler.common.jvm and :compiler:resolution.common.jvm dependencies to pill importer (vor 2 Tagen) <Yaroslav Chernyshev> *3f7aab6fae- (tag: build-1.4.20-dev-4464) Redundant 'asSequence' call: don't report when reciever type is Map (vor 3 Tagen) <Toshiaki Kameyama> *78493395c3- (tag: build-1.4.20-dev-4451) Don't mark signature as inapplicable when argument is empty/incomplete (vor 3 Tagen) <cketti> *343010a833- (tag: build-1.4.20-dev-4450) "Unused equals expression" inspection: highlight whole expression with yellow background (vor 3 Tagen) <Toshiaki Kameyama> *b81ec2c8f0- (tag: build-1.4.20-dev-4448) Fix compilation errors in bunches (vor 3 Tagen) <Dmitriy Novozhilov> *a8c68d9e6f- Remove dependency on :compiler:frontend.java from :compiler:fir:jvm (vor 3 Tagen) <Dmitriy Novozhilov> *6906e0d82d- Move common jvm classes from :core:descriptors.jvm to :core:compiler.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov> *9806a85cc1- Move Java model classes to :core:compiler.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov> *b81c0e91d5- Replace DescriptorVisibility with Visibility in Java model classes (vor 3 Tagen) <Dmitriy Novozhilov> *696f089b3e- Make DescriptorVisibility delegate to Visibility (vor 3 Tagen) <Dmitriy Novozhilov> *a05d6da43b- Move descriptor-independent Visibilities to common modules (vor 3 Tagen) <Dmitriy Novozhilov> *d1fd1da56f- Rename Visibility to DescriptorVisibility (vor 3 Tagen) <Dmitriy Novozhilov> *2bcd8ee07f- Get rid of Visibility.effectiveVisibility member (vor 3 Tagen) <Dmitriy Novozhilov> *7d9b7df3b4- Cleanup code in EffectiveVisibility.kt and extract descriptors related part to separate file (vor 3 Tagen) <Dmitriy Novozhilov> *6346b1b2ab- Use type markers instead of class descriptors in effective visibility (vor 3 Tagen) <Dmitriy Novozhilov> *64ec3fc42b- Move BuiltinSpecialProperties and JvmAbi to :core:compiler.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov> *10fd164b77- Extract FE 1.0 dependent part from JavaToKotlinClassMap (vor 3 Tagen) <Dmitriy Novozhilov> *136435bcc2- Move JvmPrimitiveType to :core:compiler.common (vor 3 Tagen) <Dmitriy Novozhilov> *4d5f28d5c0- Move FunctionInvokeDescriptor.BIG_ARITY to :core:compiler.common (vor 3 Tagen) <Dmitriy Novozhilov> *bf4bf30b4a- Move CompanionObjectMapping to :core:compiler.common (vor 3 Tagen) <Dmitriy Novozhilov> *0e04af463d- Move JvmTypeSpecificityComparator to :compiler:resolution.common.jvm (vor 3 Tagen) <Dmitriy Novozhilov> *564d382b9d- Introduce new modules for common jvm related parts of compiler (vor 3 Tagen) <Dmitriy Novozhilov> *dd016b759e- (tag: build-1.4.20-dev-4438) JVM_IR: write raw types as raw in JVM generic signatures (vor 3 Tagen) <Dmitry Petrov> *475522f938- Represent raw types in IR using a special type annotation (vor 3 Tagen) <Dmitry Petrov> *714ab7c37f- Handle java raw types in IR (vor 3 Tagen) <Dmitry Petrov> *8420c0b7c7- (tag: build-1.4.20-dev-4437) Add "Redundant nullable return type" inspection (vor 3 Tagen) <Toshiaki Kameyama> *d703284d01- (tag: build-1.4.20-dev-4428) Naming convention inspection: don't report for factory functions (vor 4 Tagen) <Toshiaki Kameyama> *4f4db68a61- (tag: build-1.4.20-dev-4427) I18N fixes after merging convert initialized val to non-null type inspection (vor 4 Tagen) <Vladimir Dolzhenko> *eb3bde1538- (tag: build-1.4.20-dev-4426) Amend test data after adding `Convert assignment to assignment expression` intention (vor 4 Tagen) <Vladimir Dolzhenko> *8a7f33f044- (tag: build-1.4.20-dev-4422) [Commonizer] Fix internal error when TAs have different expanded classes (vor 4 Tagen) <Dmitriy Dolovov> *d4ef85f6c2- (tag: build-1.4.20-dev-4418) Amend test data after adding `Convert assignment to assignment expression` intention (vor 4 Tagen) <Vladimir Dolzhenko> *16ab11289c- (tag: build-1.4.20-dev-4417) [JS_IR] Enable RangeContainsLowering optimizations. (vor 4 Tagen) <Mark Punzalan> *88755a8d20- (tag: build-1.4.20-dev-4416) [Gradle, JS] Use npm project dir as executable (vor 4 Tagen) <Ilya Goncharov> *6db0785615- (tag: build-1.4.20-dev-4415) Wrap with let: apply to unsafe qualified expression (vor 4 Tagen) <Toshiaki Kameyama> *18fbf5729d- (tag: build-1.4.20-dev-4414) Inspection: convert initialized val to non-null type (vor 4 Tagen) <kvirolainen> *8b28e54584- (tag: build-1.4.20-dev-4410) [FIR-IDE] Update tests (vor 4 Tagen) <Pavel Kirpichenkov> *177fcefa68- [FIR-IDE] Minor: refactor completion contributor (vor 4 Tagen) <Pavel Kirpichenkov> *c3aeaa9052- (tag: build-1.4.20-dev-4407) Inspection: Simplify Nested forEach/onEach in also/apply to onEach (vor 4 Tagen) <Enteerman> *85d99612a2- (tag: build-1.4.20-dev-4406) Don't create inconsistent types (with contradictive use site and declaration site variances) for star projections with corresponding contravariant type parameters during substitution (vor 4 Tagen) <Victor Petukhov> *94970e2d1e- (tag: build-1.4.20-dev-4404) Intention to replace a = b with b.also { a = it } (vor 4 Tagen) <Dereck Bridie> *e387d56d93- (tag: build-1.4.20-dev-4402) Drop redundant synchronized from LibraryEffectiveKindProviderImpl (vor 4 Tagen) <Vladimir Dolzhenko> *d09b20f11d- (tag: build-1.4.20-dev-4400) Inspection to replace !string.isBlank() with string.isNotBlank() (vor 4 Tagen) <Enterman> *f9a2d01d57- [FIR] Add UselessCallOnNotNullChecker (vor 4 Tagen) <vldf> *548adc29d0- [FIR] Enter loops in resolve using independent context (vor 4 Tagen) <Mikhail Glukhikh> *a7da0d5080- [FIR] Approximate exotic return types for public declarations (vor 4 Tagen) <Mikhail Glukhikh> *bf918e6184- FIR: hide local types if needed (vor 4 Tagen) <Jinseong Jeon> *9e38e6d051- [FIR2IR] Intercept exceptions in convertToIrCall to provide more info (vor 4 Tagen) <Mikhail Glukhikh> *23e83e8933- FirClassSubstitutionScope: don't recreate type parameters for unbound f/o (vor 4 Tagen) <Mikhail Glukhikh> *e8157a5488- (tag: build-1.4.20-dev-4388) FIR: introduce & use various comparators to sort members while de/serialization (vor 4 Tagen) <Jinseong Jeon> *91c021c699- (tag: build-1.4.20-dev-4385) Add support for mixed named arguments to parameter info popup (vor 4 Tagen) <cketti> *af6e744b65- (tag: build-1.4.20-dev-4384) Allow generate toString(), equals(), and hashCode() to include non-default accessors (vor 4 Tagen) <n-p-s> *3bf18343f5- (tag: build-1.4.20-dev-4376) Build: Upgrade gradle to 6.6.1 (vor 4 Tagen) <KotlinIsland> *685b74769d- (tag: build-1.4.20-dev-4375) [JVM IR] Fix lineNumber passing into CoroutineTransformer. (vor 4 Tagen) <Roman Artemev> *5aca8ebda8- (tag: build-1.4.20-dev-4366, tag: build-1.4.20-dev-4359, tag: build-1.4.20-dev-4357) Minor, add test case on metadata of lambdas in constructors (vor 5 Tagen) <Alexander Udalov> *6b65a2ea7d- JVM_IR: move classes out of lambdas inlined into initializers (vor 5 Tagen) <pyos> *9775a2148a- (tag: build-1.4.20-dev-4353) 203: Fix compilation (vor 5 Tagen) <Florian Kistner> *9d12df28c1- (tag: build-1.4.20-dev-4351) [FIR-IDE] Add idea-fir test runtime dep for fir plugin only (vor 5 Tagen) <Pavel Kirpichenkov> *26982d1b48- [FIR-IDE] Use delegating KtScope for type param scope (vor 5 Tagen) <Pavel Kirpichenkov> *0d3f1af6e4- Fix imports after rebase (vor 5 Tagen) <Pavel Kirpichenkov> *5ddf62b30f- [FIR-IDE] Use thread-local cache in completion component (vor 5 Tagen) <Pavel Kirpichenkov> *f229ae413d- [FIR-IDE] Ignore FirMemberTypeParameterScope in KtScopes (vor 5 Tagen) <Pavel Kirpichenkov> *dc538d420e- [FIR-IDE] Changes after review (vor 5 Tagen) <Pavel Kirpichenkov> *ec072798b1- [FIR-IDE] Hack for checking single candidate resolver in tests (vor 5 Tagen) <Pavel Kirpichenkov> *2c816d8911- [FIR-IDE] Introduce resolver for a single candidate (vor 5 Tagen) <Pavel Kirpichenkov> *c6a338bcdc- (tag: build-1.4.20-dev-4346) Mute broken stepping JVM IR tests (vor 5 Tagen) <Roman Artemev> *b8d16f3d46- (tag: build-1.4.20-dev-4344) Add EnclosingMethod information to bytecode listing tests (vor 5 Tagen) <Alexander Udalov> *d4ecde5cb0- Minor, don't use token COROUTINES_PACKAGE in bytecode listing tests (vor 5 Tagen) <Alexander Udalov> *24aee1cce3- JVM IR: unmute tests on anonymous objects in inline lambdas (vor 5 Tagen) <Alexander Udalov> *e7937db8fa- Add link to the online docs to kotlinc's help (vor 5 Tagen) <Alexander Udalov> *6b05e1d179- Add warning to 'kotlinc.bat help' that delimiters need to be escaped (vor 5 Tagen) <Alexander Udalov> *2612609664- (tag: build-1.4.20-dev-4342, tag: build-1.4.20-dev-4335) [JS] Add test for KT-39378 (vor 5 Tagen) <Roman Artemev> *3d5ec8aa10- (tag: build-1.4.20-dev-4334) FIR Completion: Add simple classifiers completion (vor 5 Tagen) <Roman Golyshev> *64645c5049- FIR Completion: Refactor `KotlinAvailableScopesCompletionProvider` (vor 5 Tagen) <Roman Golyshev> *0375a19e78- FIR Completion: Refactor `KotlinAvailableScopesCompletionProvider` (vor 5 Tagen) <Roman Golyshev> *1ab246f71e- FIR Completion: Drop `originalPosition` parameter from `getScopeContextForPosition` (vor 5 Tagen) <Roman Golyshev> *ab5059e08e- FIR Completion: Rename FIR completion classes to be more uniform (vor 5 Tagen) <Roman Golyshev> *c881347110- (tag: build-1.4.20-dev-4329) Use correct return type for constructor call when creating EnumDescriptor (vor 5 Tagen) <Leonid Startsev> *8b0bb430e7- Fix multiple serialization plugin problems (vor 5 Tagen) <Leonid Startsev> *106d8e74d4- (tag: build-1.4.20-dev-4324) FIR IDE: unmute passing completion tests (vor 5 Tagen) <Ilya Kirillov> *775dc7b135- FIR IDE: add type parameters support to completion (vor 5 Tagen) <Ilya Kirillov> *6d18bb6ba2- FIR IDE: add type parameters support to scopes (vor 5 Tagen) <Ilya Kirillov> *c0e9f05921- FIR: make FirTypeParameterScope to be name aware (vor 5 Tagen) <Ilya Kirillov> *7a1b1efef3- FIR IDE: register missing Java specific components for libraries session (vor 5 Tagen) <Ilya Kirillov> *162a2ac7b0- FIR IDE: fix lazy resolve for non local declaration without containing class (vor 5 Tagen) <Ilya Kirillov> *87898021a1- FIR IDE: introduce multi module lazy resolve tests (vor 5 Tagen) <Ilya Kirillov> *8714ad575f- FIR IDE: move FIR IDE completion tests to idea-fir module (vor 5 Tagen) <Ilya Kirillov> *7cb3f62f51- FIR IDE: remove IGNORE_FIR from passing resolve tests (vor 5 Tagen) <Ilya Kirillov> *31f2c4a857- FIR: add fake source element to implicit function return statement (vor 5 Tagen) <Ilya Kirillov> *1ccf8bfb67- FIR IDE: fix completion in function with expression body (vor 5 Tagen) <Ilya Kirillov> *7c0467944d- (tag: build-1.4.20-dev-4315) FullPipelineModularizedTest: fix compilation (vor 6 Tagen) <Mikhail Glukhikh> *0324c0d02f- FullPipelineModularizedTest: code cleanup (vor 6 Tagen) <Mikhail Glukhikh> *9f27bc62c0- (tag: build-1.4.20-dev-4313) [Gradle, JS] Args should concat after input file (vor 6 Tagen) <Ilya Goncharov> *fdbc657656- (tag: build-1.4.20-dev-4312) [IR] Fix `isFileClass` checker (vor 6 Tagen) <Roman Artemev> *91b99da7a0- (tag: build-1.4.20-dev-4311) KT-41313: Only load .jar files when locating annotation processors (vor 6 Tagen) <Ivan Gavrilovic> *b9bc11d5e0- (tag: build-1.4.20-dev-4307) [Gradle, JS] Consider custom launcher's base (vor 6 Tagen) <Ilya Goncharov> *02b72e16ef- (tag: build-1.4.20-dev-4306) FIR: Temporary weaken required phase in ensureResolvedForCalls (vor 6 Tagen) <Denis Zharkov> *b0a7960b42- FIR: Call ensureResolved(TYPES) when computing supertypes of a class (vor 6 Tagen) <Denis Zharkov> *8427cc373f- FIR: Fix coroutines related IDE exception from TowerResolveManager (vor 6 Tagen) <Denis Zharkov> *d532529c30- FIR: Add workaround for recursive contracts in ensureResolvedForCalls (vor 6 Tagen) <Denis Zharkov> *0a1440d80c- FIR: Optimize ensureResolvedForCalls for common case (vor 6 Tagen) <Denis Zharkov> *1c0e3b30a2- FIR: Use return type calculator in FirTypeMismatchOnOverrideChecker (vor 6 Tagen) <Denis Zharkov> *992a2d556a- FIR: Add ensureResolved calls for types of sub-expressions (vor 6 Tagen) <Denis Zharkov> *d05e947d25- FIR: Ensure resolved callable symbols came out of the declared scopes (vor 6 Tagen) <Denis Zharkov> *d80caf7dbf- FIR: Extract common code in FirPackageMemberScope (vor 6 Tagen) <Denis Zharkov> *b4aef21423- FIR: Simplify API for ensureResolved (vor 6 Tagen) <Denis Zharkov> *bb84dc2ed4- FIR: Minor. Extract common parts in FirClassDeclaredMemberScope (vor 6 Tagen) <Denis Zharkov> *1cc68762e1- FIR: Minor. Fix error message (vor 6 Tagen) <Denis Zharkov> *4cdc36abb3- FIR: Drop unused 'phasedFir' callables (vor 6 Tagen) <Denis Zharkov> *c3c8115163- FIR: Use explicit version of 'ensureResolved' (vor 6 Tagen) <Denis Zharkov> *517056e0c6- FIR: Do not require specific phase for super-call receiver class (vor 6 Tagen) <Denis Zharkov> *fcc2abcf40- FIR: Fix phase requirement for call resolution (vor 6 Tagen) <Denis Zharkov> *ff182f191e- FIR: Fix some contracts resolutions side-effects (vor 6 Tagen) <Denis Zharkov> *67cc85e02b- FIR: Avoid redundant calls to ensureResolved during call resolution (vor 6 Tagen) <Denis Zharkov> *bf2fc10cd6- FIR: Extract AbstractFirBasedSymbol::ensureResolved extension (vor 6 Tagen) <Denis Zharkov> *2529f541ba- FIR: Prepare refactoring of phasedFir (vor 6 Tagen) <Denis Zharkov> *7fe02238ea- (tag: build-1.4.20-dev-4302) [Gradle, JS] Add more information on Gradle exception (vor 6 Tagen) <Ilya Goncharov> *076045ce54- [Gradle, JS] Add test with library mixed with executable and browser/nodejs (vor 6 Tagen) <Ilya Goncharov> *d238483054- [Gradle, JS] Add test with library mixed with executable (vor 6 Tagen) <Ilya Goncharov> *4a1bccc1e6- [Gradle, JS] Add test on simple js binary library (vor 6 Tagen) <Ilya Goncharov> *9f04d353a0- [Gradle, JS] Fix test for IR browser distribution (vor 6 Tagen) <Ilya Goncharov> *134aa6182e- [Gradle, JS] Process resources into kotlin folder (vor 6 Tagen) <Ilya Goncharov> *06a54c87a0- [Gradle, JS] Compile sync tasks (vor 6 Tagen) <Ilya Goncharov> *9729554313- [Gradle, JS] Node run task for all binaries (vor 6 Tagen) <Ilya Goncharov> *7dbde459f0- [Gradle, JS] Run task for library (vor 6 Tagen) <Ilya Goncharov> *b4baaed87a- [Gradle, JS] Different distributions for different binaries (vor 6 Tagen) <Ilya Goncharov> *8c74a844f2- [Gradle, JS]] Add custom fields for package.json (vor 6 Tagen) <Ilya Goncharov> *2d8b95190e- [Gradle, JS] Outputs for distribution tasks as lazy (vor 6 Tagen) <Ilya Goncharov> *fe72d46fee- [Gradle, JS] Add types into public package json (vor 6 Tagen) <Ilya Goncharov> *39059c103a- [Gradle, JS] Distribution directory as a lazy (vor 6 Tagen) <Ilya Goncharov> *82ea324cc1- [Gradle, JS] DefaultDistribution (vor 6 Tagen) <Ilya Goncharov> *53a23169d9- [Gradle, JS] Node js binaries executable filtering (vor 6 Tagen) <Ilya Goncharov> *73dbf6b846- [Gradle, JS] Add configureLibrary (vor 6 Tagen) <Ilya Goncharov> *1318517155- [Gradle, JS] Add configureLibrary (vor 6 Tagen) <Ilya Goncharov> *c9ca05b477- [Gradle, JS] Add distribute resources tasks for all binaries (vor 6 Tagen) <Ilya Goncharov> *cc25660d7d- [Gradle, JS] Move distributions tasks into abstract subtarget class (vor 6 Tagen) <Ilya Goncharov> *cae29a5d1c- (tag: build-1.4.20-dev-4300) [IR] Clean up WrappedDescriptors API (vor 6 Tagen) <Roman Artemev> *c7b57c0fb3- [IR] Use only empty constructor to create WrappedDescriptor (vor 6 Tagen) <Roman Artemev> *fd88914cf9- [IR] Remove some descriptor usage from Common/JS/JVM backends (vor 6 Tagen) <Roman Artemev> *8cb8284957- (tag: build-1.4.20-dev-4296) EnhancedNullability annotation in IR (vor 6 Tagen) <Dmitry Petrov> *0bff406a12- (tag: build-1.4.20-dev-4292) [JS IR] Add infra to test compilation with error (vor 6 Tagen) <Roman Artemev> *e592b3af1d- [JS IR] Fix CallsLowering's* (vor 6 Tagen) <Roman Artemev> *7a6415dc53- [JS IR] Enable IrError element's lowerings in JS (vor 6 Tagen) <Roman Artemev> *4dca3715fa- [JS IR | IR] Implement error element lowering to support compilation with errors (vor 6 Tagen) <Roman Artemev> *14b5424583- [JS IR] Support translation of IrError* elements (vor 6 Tagen) <Roman Artemev> *1fd5c1cc65- [IR] Support IrErrorType & IrErrorDeclaration in ir mangler (vor 6 Tagen) <Roman Artemev> *9c36487077- [IR] Disable mangle checker for IrErrorDeclarations (vor 6 Tagen) <Roman Artemev> *563af709a8- [Psi2Ir] Fix generation of IrError* nodes (vor 6 Tagen) <Roman Artemev> *a60782f3df- [JS IR] Add CLI argument to setup error tolerance policy (vor 6 Tagen) <Roman Artemev> *8a810e2a5e- [JS IR] Add runtime API to throw ISE in case of compiled code with errors (vor 6 Tagen) <Roman Artemev> *b3199d14b8- FIR IDE: Use correct property-by-package index in `KtFirPackageScope` (vor 6 Tagen) <Roman Golyshev> *5180a65f0b- FIR Completion: Use proper types rendering (vor 6 Tagen) <Roman Golyshev> *7649043479- (tag: build-1.4.20-dev-4285) FIR IDE: Set correct source for the function built in the air (vor 6 Tagen) <Roman Golyshev> *90c89bddc5- FIR IDE: Add collecting scopes for declarations (vor 6 Tagen) <Roman Golyshev> *76eb5d46f4- FIR IDE: Add `FirTowerDataContextCollector` class (vor 6 Tagen) <Roman Golyshev> *9c217e3d99- (tag: build-1.4.20-dev-4284) Reuse revised variables during lambda analysis against type variables (vor 6 Tagen) <Mikhail Zarechenskiy> *011bb0924a- (tag: build-1.4.20-dev-4277) [FIR-IDE] Introduce `FirIdeSessionFactory` for creating ide sessions (vor 6 Tagen) <Dmitriy Novozhilov> *cb47e631f8- [FIR] Move extended checkers containers to `:compiler:fir:entrypoint` (vor 6 Tagen) <Dmitriy Novozhilov> *f14efedc3d- [FIR] Fix broken gradle compilation (vor 6 Tagen) <Dmitriy Novozhilov> *c250912ee0- [FIR-TEST] Use FirAnalyzerFacade in BB and Fir2IrText tests (vor 6 Tagen) <Dmitriy Novozhilov> *a4e24ca3dc- [FIR] Introduce FirAnalyzerFacade which hides implementation details of running FIR compiler (vor 6 Tagen) <Dmitriy Novozhilov> *6db8c28291- [FIR] Refactor session components initialization (vor 6 Tagen) <Dmitriy Novozhilov> *2819bd3aaf- [FIR] Get rid of deprecated extension point registration methods usage (vor 6 Tagen) <Dmitriy Novozhilov> *cf224b4de9- [FIR] Add `createEmptySession` to `FirSessionFactory` for testing purposes (vor 6 Tagen) <Dmitriy Novozhilov> *a8d23c36f5- [FIR] Introduce module `:fir:entrypoint` and `FirSessionFactory` for creating sessions (vor 6 Tagen) <Dmitriy Novozhilov> *94d58c714a- [FIR] Cleanup dependencies for fir modules (vor 6 Tagen) <Dmitriy Novozhilov> *73e2314f2f- [FIR] Get rid of dependency on intellijCore from :compiler:fir:resolve (vor 6 Tagen) <Dmitriy Novozhilov> *18ad56f7a8- [FIR] Fix creating fake source elements in declarations resolve (vor 6 Tagen) <Dmitriy Novozhilov> *28e6050551- [FIR] Extract java synthetic names calculation to platform specific component (vor 6 Tagen) <Dmitriy Novozhilov> *375140ebcc- [FIR] Extract java class mapping to platform specific component (vor 6 Tagen) <Dmitriy Novozhilov> *a0b931792e- Move `annotationsForResolve.kt` to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov> *07c353973d- Move `requireOrDescribe` to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov> *f010dc533c- Move `Variance.convertVariance` to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov> *e164c88a14- Move TypeSystemCommonBackendContext to :core:compiler.common (vor 6 Tagen) <Dmitriy Novozhilov> *3379d9b619- [FIR] Extract java related effective visibility calculation to platform component (vor 6 Tagen) <Dmitriy Novozhilov> *ed4c6a38b6- [FIR] Move deserialization files to module :compiler:fir:fir-deserialization (vor 6 Tagen) <Dmitriy Novozhilov> *ca031f7ace- [FIR] Split ResolveUtils.kt from :resolve to separate files (vor 6 Tagen) <Dmitriy Novozhilov> *6ace4164ff- [FIR] Split TypeUtils from :resolve to :cones and :tree modules (vor 6 Tagen) <Dmitriy Novozhilov> *92ffa4dea9- [FIR] Replace KotlinScopeProvider with FirScopeProvider in ClassDeserialization (vor 6 Tagen) <Dmitriy Novozhilov> *3aa13362ca- (tag: build-1.4.20-dev-4276) [FIR2IR] Replace NPE in setThisReceiver with more detailed exception (vor 6 Tagen) <Mikhail Glukhikh> *65739c50d3- FIR full pipeline test: output build status per-module (vor 6 Tagen) <Mikhail Glukhikh> *2979c37001- (tag: build-1.4.20-dev-4274) [NI] Fix resolution status for UnstableSmartCastDiagnostic (vor 6 Tagen) <Pavel Kirpichenkov> *5e71068e61- (tag: build-1.4.20-dev-4271) [IR] Handled degenerate cases of IrStringConcatenation (vor 6 Tagen) <Igor Chevdar> *74dce725cc- (tag: build-1.4.20-dev-4270) [Commonizer] Tests for missed supertypes in commonized type aliases (vor 6 Tagen) <Dmitriy Dolovov> *96736b0126- [Commonizer] Add missed supertypes in commonized type aliases (vor 6 Tagen) <Dmitriy Dolovov> *e21d99334b- [Commonizer] Lookup common descriptors that don't participate in commonization (for tests only) (vor 6 Tagen) <Dmitriy Dolovov> *ed78169051- [Commonizer] README: Describe the case when target is not available (vor 6 Tagen) <Dmitriy Dolovov> *56f0fb6c70- (tag: build-1.4.20-dev-4260) Prevent test failures because of Leaked Android SDK (vor 7 Tagen) <Nikolay Krasko> *78ab957bfe- (tag: build-1.4.20-dev-4256) JVM IR: Fix mangling for suspend functions with inline class params (KT-41374) (vor 7 Tagen) <Steven Schäfer> *48a3d4b8e0- (tag: build-1.4.20-dev-4247) [ULC] Add recursion guard to getLightClass (vor 7 Tagen) <Igor Yakovlev> *873224dfbc- (tag: build-1.4.20-dev-4246) [NI] Use new type substitutor for known type parameters (vor 7 Tagen) <Pavel Kirpichenkov> *c706673de9- (tag: build-1.4.20-dev-4245) Minor, refactor bytecode text tests on when-over-string optimization (vor 7 Tagen) <Alexander Udalov> *a639915a34- (tag: build-1.4.20-dev-4234, tag: build-1.4.20-dev-4231) JVM IR: do not mangle property accessors of unsigned types in annotations (vor 7 Tagen) <Alexander Udalov> *1e360d9c91- (tag: build-1.4.20-dev-4229) [FIR2IR] Pass type context for type argument conversion properly (vor 7 Tagen) <Mikhail Glukhikh> *04af6846a7- FIR2IR: handle more vararg spreads for adapted callable references (vor 7 Tagen) <Jinseong Jeon> *5efabe063e- [FIR] Fix JVM mapped function callable id (vor 7 Tagen) <Mikhail Glukhikh> *db815c96c5- [FIR] Substitute copied type parameters in fake override properties (vor 7 Tagen) <Mikhail Glukhikh> *dc9306367a- FirClassSubstitutionScope: reorder companion functions (vor 7 Tagen) <Mikhail Glukhikh> *5ad453d927- [FIR] Substitute copied type parameters in fake override functions (vor 7 Tagen) <Mikhail Glukhikh> *458f89ef33- [FIR] Signature composer: return null signature for local declarations (vor 7 Tagen) <Mikhail Glukhikh> *02b6f34067- [FIR2IR] Add extension receiver parameter to delegated members (vor 7 Tagen) <Mikhail Glukhikh> *22c63c4e80- [FIR2IR] Add supertypes to delegated member type parameters (vor 7 Tagen) <Mikhail Glukhikh> *9ad55a0ee3- [FIR2IR] Don't create list under the hood in DelegatedMemberGenerator (vor 7 Tagen) <Mikhail Glukhikh> *5384ccf02f- [FIR] Introduce & use FirDelegatedMemberScope (vor 7 Tagen) <Mikhail Glukhikh> *f0af930288- [FIR] Eliminate unused FirDelegatedTypeRef (vor 7 Tagen) <Mikhail Glukhikh> *ede910065a- [FIR] Add problematic resolve test case with delegated super call (vor 7 Tagen) <Mikhail Glukhikh> *3f5beb77e8- [FIR2IR] Cache delegatable members properly (vor 7 Tagen) <Mikhail Glukhikh> *1e712f8398- (tag: build-1.4.20-dev-4226) IR: remove IrElementVisitorVoidWithContext (vor 7 Tagen) <Alexander Udalov> *5e48be3d11- (tag: build-1.4.20-dev-4225) Add a fallback flag -Xno-unified-null-checks for KT-22275 (vor 7 Tagen) <Alexander Udalov> *40669350f7- (tag: build-1.4.20-dev-4221) Wizard: navigate to wizard help page when clicking help button (vor 7 Tagen) <Ilya Kirillov> *fa847d758d- Wizard: use compileKotlin for groovy instead of direct KotlinCompile task access (vor 7 Tagen) <Ilya Kirillov> *e672f5f8e3- (tag: build-1.4.20-dev-4217) [Wizard, JS] Remove duplicating descriptions (vor 7 Tagen) <Ilya Goncharov> *554c67cd1d- [Wizard, JS] Add descriptions to wizard options (vor 7 Tagen) <Ilya Goncharov> *af35b6c3c8- (tag: build-1.4.20-dev-4210) Provide icons to Kotlin Light-elements (KT-26235) (vor 7 Tagen) <Nicolay Mitropolsky> *527de030fc- (tag: build-1.4.20-dev-4206) [box-tests] Turned on some tests for K/N (vor 7 Tagen) <Igor Chevdar> *ab54e43b00- [IR] Commonized SAM equals/hashCode builder (vor 7 Tagen) <Igor Chevdar> *12ddd137bc- [IR] Moved isLambda to common IR utils (vor 7 Tagen) <Igor Chevdar>
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.