Commit Graph

79998 Commits

Author SHA1 Message Date
Dmitriy Novozhilov cd557ad178 Change order of enum entries in CandidateApplicability 2020-09-09 12:38:34 +03:00
Dmitriy Novozhilov d1568c1ce6 Rename ResolutionCandidateApplicability to CandidateApplicability 2020-09-09 12:38:33 +03:00
Mikhail Glukhikh db2e3f219f [FIR] Keep bare type for type alias case 2020-09-09 12:16:09 +03:00
Alexander Udalov 3a5d0ab427 JVM IR: fix HashCode intrinsic for generics substituted with primitives
The problem here was that although the IR type of the expression was
primitive, the type of the actual expression in the bytecode generated
after type erasure was `Ljava/lang/Object;`, and we were trying to call
a non-existing method `Object.hashCode(Object)`.

 #KT-41669 Fixed
2020-09-08 23:37:00 +02:00
Alexander Udalov c46c80822c JVM IR: fix enclosing constructor for lambdas in inner classes
Before this change, we stored the enclosing constructor in a map in
JvmBackendContext before moving lambdas and local classes out of
initializer blocks. However, in case the lambda was declared in an inner
class, we stored a reference to the unlowered constructor of the inner
class, whose JVM signature is "()V" instead of the correct "(LOuter;)V".
Java reflection then threw exception if we tried to call
`getEnclosingConstructor()` on such class at runtime. Proguard finished
with errors for the same reason.

It turns out that we can just store the fact that the class has been
moved, and load the matching constructor in codegen, where everything is
already lowered and guaranteed to match with the signatures of the
actual generated declarations.

 #KT-41668 Fixed
2020-09-08 23:37:00 +02:00
Alexander Udalov 228e329d1f JVM IR: generate enclosing constructor only for lambdas in initializers
There was a typo in JvmLocalClassPopupLowering which allowed the
EnclosingMethod for lambdas and anonymous classes in initializers to
become any function in a class, in case when there was no primary
constructor in that class. E.g. in the added test, `getIrrelevantField`
was the EnclosingMethod of the lambda class before this change.
2020-09-08 23:37:00 +02:00
Ilya Kirillov 2ab68b3245 Wizard: move boolean setting description to the bottom 2020-09-09 00:20:58 +03:00
Ilya Kirillov ce00366c7f Wizard: fix when first selected template cannot be applied 2020-09-09 00:20:58 +03:00
Ilya Kirillov 3a6011fae9 Wizard: always generate android MPP tests
#KT-40940 fixed
2020-09-09 00:20:57 +03:00
Ilya Kirillov 553c525701 Wizard: fix Gradle buildscript formatting
#KT-37965 fixed
2020-09-09 00:20:57 +03:00
Ilya Kirillov 0f799d593d Wizard: specify test platform to use on JVM
#KT-37965 fixed
2020-09-09 00:20:57 +03:00
Ilya Kirillov 7002e86d6b Wizard: fix path & artifactId updating on name update
#KT-41695 fixed
2020-09-09 00:20:56 +03:00
Alexander Udalov 929b5f727d Build: add :compiler:fir:entrypoint to compilerModules
This fixes FIR usage from the CLI compiler.
2020-09-08 20:26:28 +02:00
Alexander Udalov 7fb7dc0210 Fix deprecation warnings related to Project extensions 2020-09-08 20:26:20 +02:00
Alexander Udalov 196893bc4d Build: fix more warnings about deprecated/Alpha MPP plugins
Using the new flags added in KT-41340 and
413d02621b.
2020-09-08 20:26:20 +02:00
Mads Ager 06680452dc [JVM_IR] Always look for default lambdas in the inliner.
This allows compiler plugins such as Compose to do custom
default argument handling in methods that do not have origin
`FUNCTION_FOR_DEFAULT_PARAMETER`.

The code still bails out early is there is not defaults
mask, so there should be no compile-time penalty.
2020-09-08 19:07:31 +02:00
anastasiia.spaseeva a12e22bba4 [Spec tests] Fix dependencies for spec tests generator 2020-09-08 16:14:47 +03:00
1anisim cf9f120d55 Update ReadMe.md
Added a section about Multiplatform Capabilities, highlighted KMM
2020-09-08 14:54:47 +03:00
Igor Chevdar 125c6ac703 [IR] Optimization for 2-element string concatenation 2020-09-08 14:28:12 +03:00
LepilkinaElena 57b9185909 Fix searching executable on MacOSX (#4360) 2020-09-08 13:59:35 +03:00
Ilya Goncharov 9d3426486b [Gradle, JS] Support explicitApi in js plugin
^KT-41328 fixed
2020-09-08 12:54:11 +03:00
Dmitriy Novozhilov 28a83b04cd [FIR] Minor. Fix code style 2020-09-08 12:51:13 +03:00
Dmitriy Novozhilov 67604dcb66 [FIR] Add generator for checkers aliases and sets of checkers 2020-09-08 12:51:12 +03:00
Dmitriy Novozhilov 4de57fcac2 [FIR] Initialize module for checkers generator 2020-09-08 12:51:12 +03:00
Dmitriy Novozhilov 6656669551 [FIR] Fix typo 2020-09-08 12:51:12 +03:00
Dmitriy Novozhilov 3b9e86ccbf [FIR] Remove empty file 2020-09-08 12:51:12 +03:00
Dmitriy Novozhilov a8a5ed3cd3 [FIR] Get rid of runCheck in checkers components 2020-09-08 12:51:11 +03:00
Dmitriy Novozhilov 71a855112e [FIR] Get rid of ParallelDiagnosticsCollector 2020-09-08 12:51:11 +03:00
Ilya Goncharov 20a1ea0413 [Wizard, JS] Change js compiler default
^KT-41656 fixed
2020-09-08 12:48:52 +03:00
Dmitry Petrov 6746bd81d5 PSI2IR tests for KT-41735 2020-09-08 12:34:19 +03:00
Vladimir Ilmov aa04c0b5df Parent call already on KotlinBuiltInDecompiler.kt:79 2020-09-08 10:59:17 +02:00
Igor Chevdar 5caad8779f [IR] Equals/hashCode for SAM implementers
Fixes https://youtrack.jetbrains.com/issue/KT-39798
2020-09-08 11:14:58 +03:00
Igor Chevdar 23ac87f626 [IR] Supported IrExpressionBody 2020-09-08 11:14:58 +03:00
Igor Chevdar d65f88850e [IR] Equals/hashCode for adapted references
Fixes https://youtrack.jetbrains.com/issue/KT-39800
2020-09-08 11:14:58 +03:00
Igor Chevdar f8341d73ef [IR] Renamed a lowering
Former CallableReferenceLowering actually only lowers function references,
property references are lowered in DelegationLowering
2020-09-08 11:14:58 +03:00
Steven Schäfer 44ffb1fb3e Psi2Ir: Fix SAM conversion with new inference 2020-09-08 11:14:14 +03:00
SvyatoslavScherbina 37f335b483 Update PLATFORM_LIBS.md
(https://github.com/JetBrains/kotlin-native/pull/4343 to master).
2020-09-08 11:11:43 +03:00
pyos 75891e860b FIR2IR: split getIrPropertyOrFieldSymbol, handle locals there 2020-09-08 08:40:13 +03:00
pyos f198a19ab0 FIR2IR: add local delegated property generation 2020-09-08 08:40:07 +03:00
Vasily Levchenko a7e228b16f Revert "[debugger][bindings] don't enter to recursion on type info calculation (KT-41291)"
This reverts commit b604b58223.
2020-09-07 22:21:20 +02:00
Vasily Levchenko 079a123536 [build][jar-collision] added META-INF/compiler.common.jvm.kotlin_module 2020-09-07 22:21:20 +02:00
Dmitriy Novozhilov a1bb44deb4 Rename Visibility to DescriptorVisibility
(cherry picked from commit 20bf850f10ee66ee65a3527bf818255d1c2f08b0)
2020-09-07 22:21:20 +02:00
Roman Artemev 26bec6f739 Corresponding fix to js de-descriptiozation
(cherry picked from commit f542026312055e0ed49846f4dc76500ad1f44a32)
2020-09-07 22:21:20 +02:00
Dmitriy Novozhilov bc3b4f3954 Fix module name in jar collision list
(cherry picked from commit a34ad4cb66318c7c26d7412104c7d69f56dbf074)
2020-09-07 22:21:20 +02:00
Igor Chevdar a567326683 [IR] Added stub for recently changed SAM builder
This stub will be implemented in the future

(cherry picked from commit 80159692b32b30173f39458ae26c0275b2a4d12c)
2020-09-07 22:21:20 +02:00
Dmitriy Novozhilov 0866c9c468 Update modules list for jar collision detection
(cherry picked from commit 69753529e9e3ca7388132cfab90138c4b49eb945)
2020-09-07 22:21:20 +02:00
Vasily Levchenko 656e5a2a81 [kotlin compiler][update] 1.4.20-dev-4477
* 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>
2020-09-07 22:21:20 +02:00
Steven Schäfer 4792be2522 JVM IR: Optimize static property references (KT-36975) 2020-09-07 21:01:29 +02:00
Alexander Udalov 669fda6b77 Do not add duplicate $completion when compiling JVM against JVM_IR
This change fixes JvmOldAgainstIrBoxInlineTestGenerated.Suspend and
JvmIrAgainstOldBoxInlineTestGenerated.Suspend tests.
2020-09-07 19:41:38 +02:00
Alexander Udalov ae448ececb Minor, add compileKotlinAgainstKotlin test case for KT-41374 2020-09-07 19:41:37 +02:00