From 616beedbcfeced3837f2a15640de6d3acd2dac2c Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 8 Feb 2021 08:04:34 +0100 Subject: [PATCH] [kotlin compiler][update] 1.5.20-dev-372 * dcb47d99348 - (tag: build-1.5.20-dev-372) Fix broken compilation after changing kotlin compiler configuration form (2 days ago) * 391f53154ad - (tag: build-1.5.20-dev-355) Fix NPE in Kotlin facets tab (3 days ago) * 250040bab72 - (tag: build-1.5.20-dev-353) Common fix GradleQuickFixTest and GradleUpdateConfigurationQuickFixTest (3 days ago) * 94e66acd548 - Revert "Fix GradleQuickFixTest" (3 days ago) * 9f7d7e55daa - (tag: build-1.5.20-dev-341) Consider platform compatibility in library usage index (3 days ago) * 27dcd07a5e7 - (tag: build-1.5.20-dev-336) [Commonizer] Remove filter for simd_ functions (no more relevant) (3 days ago) * 4d5ec6e52ab - [Commonizer] Minor. Rename: builders.kt -> entityBuilders.kt (3 days ago) * 955f86ef9f9 - [Commonizer] Minor. Rename: buildingVisitor.kt -> metadataBuilder.kt (3 days ago) * 33c1ca01f49 - [Commonizer] Simplify creation of SerializedMetadataLibraryProvider (3 days ago) * 6c92ea518b7 - [Commonizer] Add ModulesProvider.loadModuleMetadata() to load raw metadata (3 days ago) * cb226e74a51 - [Commonizer] Refactor ModulesProvider.loadModuleInfos() function (3 days ago) * 08111031ece - (tag: build-1.5.20-dev-332) [KAPT] Keep annotations from kotlin.jvm. in stubs (3 days ago) * a68837451a7 - (tag: build-1.5.20-dev-322) FirCatchParameterChecker: minor fix (3 days ago) * 0d1f493b6c4 - (tag: build-1.5.20-dev-318) Remove unneeded artifacts for Kotlin IDE plugin (3 days ago) * f1ab5d1fbd2 - (tag: build-1.5.20-dev-317) FIR: introduce & use Throwable built-in type (3 days ago) * bbd1da7b713 - Use reportOn in FirThrowableSubclassChecker & FirCatchParameterChecker (3 days ago) * a564f92eef0 - FIR: introduce ThrowableSubclassChecker (3 days ago) * cd189c0812c - (tag: build-1.5.20-dev-311) JVM_IR. Do not unbox Result in inline lambda (4 days ago) * fb296b5b95a - (tag: build-1.5.20-dev-310) Do not create Array instance in kotlin-reflect where not necessary (4 days ago) * 35ec6b4f5c5 - (tag: build-1.5.20-dev-307) Run IR test on `Test Codegen on different platforms` (4 days ago) * d5deccd2e96 - (tag: build-1.5.20-dev-306) Fix GradleQuickFixTest (4 days ago) * dacf012a788 - (tag: build-1.5.20-dev-292) [KAPT] Add newline after each java compiler log (#4087) (4 days ago) * cdb488149f3 - (tag: build-1.5.20-dev-281) [JS IR] Namer improvements (4 days ago) * c9cb7bc0fdc - [JS IR] Update tests (4 days ago) * ae738e9c59b - [JS] Add basic optional logs to test runner (4 days ago) * c6242ad1672 - [JS] String.isValidES5Identifier (4 days ago) * 8be7e6064ea - [JS IR] Optimize sanitization (4 days ago) * 2a424ad2af6 - [IR] Make isExternal mutable and accessible via common interface (4 days ago) * 924a7b009bf - [JS IR] Fix object getInstance visibility (4 days ago) * 218c2461111 - [JS] Fix extra js function capturing (4 days ago) * 95140f35f8d - (tag: build-1.5.20-dev-273) [parcelize] Fix codegen for generic classes (4 days ago) * ca02573d1eb - (tag: build-1.5.20-dev-266) [Test] Print bytecode if DxCheckerHandler had failed (4 days ago) * 771b1acbc10 - [Test] Ignore multimodule tests in AbstractLightAnalysisModeTest (4 days ago) * 29b96aa15d4 - [Test] Properly merge box against java testdata into codegen/box (4 days ago) * 21c493a8541 - [Test] Support different backends enumeration in DONT_TARGET_EXACT_BACKEND directive (4 days ago) * acd8c4503b1 - (tag: build-1.5.20-dev-244) Do not generate $suspendImpl for JvmDefault functions in interfaces (5 days ago) * 5f71cd5476f - (tag: build-1.5.20-dev-242) Minor. Mute test on FIR (5 days ago) * 02f845636ef - JVM_IR: Box generic Result parameter in suspend lambda (5 days ago) * a30a961cf51 - Minor. Throw exceptions in test coroutine builders (5 days ago) * 52e22796e11 - (tag: build-1.5.20-dev-239) [Commonizer] Prettier message about target with no libraries inside (5 days ago) * 73113c10410 - [Commonizer] Dump every module to disk immediately when it's ready (5 days ago) * 53204661e35 - (tag: build-1.5.20-dev-238) [JS] Update stdlib API test data after dukat update (5 days ago) * d3b4df7da8a - [JS] Revert paramter names changed by dukat (5 days ago) * f1682cba13f - KT-40235 Dukat `0.5.8-rc.4` (5 days ago) * ba0d60853dd - KT-40235 `null` companion for stdlib external union types (5 days ago) * 7523a5e97f9 - KT-40235 Fix external interface companion support (5 days ago) * cc55580300e - (tag: build-1.5.20-dev-235) Exclude kotlin-test root project during JPS sync (5 days ago) * b32db1ac026 - (tag: build-1.5.20-dev-233) Refactoring: change assertion signature, proper source set copying way (5 days ago) * b2017a9c9c4 - Introduce importing checkers with implementation for orphan source sets (5 days ago) * 87e130e77a5 - (tag: build-1.5.20-dev-228) Remove obsolete diagnostics suppression (5 days ago) * ebced14db2e - (tag: build-1.5.20-dev-227) [FIR] Implement suppressing diagnostics with @Suppress (5 days ago) * 459a2886a02 - [FIR] Add CheckerContext to DiagnosticReporter and refactor diagnostic reporting (5 days ago) * 923a4427c51 - (tag: build-1.5.20-dev-224) [KAPT] Fix stub generation for anonymous delegates (5 days ago) * 60a05dded05 - (tag: build-1.5.20-dev-222) Build: fix default value for kotlin.build.disable.werror (5 days ago) * 7942bd0b3bb - (tag: build-1.5.20-dev-220) Minor. Regenerate tests (5 days ago) * 2535e5d5c93 - (tag: build-1.5.20-dev-212) Minor: LAMBDAS directive in old back-end tests (5 days ago) * bd45a6c11d8 - (tag: build-1.5.20-dev-211) Support -Xsuppress-version-warnings to suppress API/language version warnings (5 days ago) * d901ceb7344 - (tag: build-1.5.20-dev-210) FIR: Fix loading Java annotations with Class[]-typed methods (5 days ago) * 5a55d56320b - IR: Fix offsets for value parameters for bridges (5 days ago) * 8712772a5f7 - FIR: Add test for type resolution when referenced nested class from supertypes (5 days ago) * c51798d46f7 - Fix warning at VMCounters.kt (5 days ago) * e7669ef9d6f - FIR: Fix builder inference case with independent calls inside lambda (5 days ago) * 29ac4cb9cc5 - Minor. Simplify conditions in shouldRunCompletion (5 days ago) * 173a852273b - FIR: Fix uninitialized lateinit FirSymbol::symbol for supertype of Java class (5 days ago) * 8b2279072fb - Fix compilation in tests-compiler-utils (5 days ago) * e0b6d4d9178 - (tag: build-1.5.20-dev-208) Add -Xsuppress-deprecated-jvm-target-warning to modules compiled with 1.6 (5 days ago) * 99b5e5a3732 - Deprecate JVM target 1.6 (5 days ago) * ab20a8ffffc - (tag: build-1.5.20-dev-205) JVM_IR indy-lambdas: minor updates and fixes (5 days ago) * 088448043aa - JVM_IR indy-lambdas: don't use indy for big arity lambdas (5 days ago) * d94912ed624 - JVM_IR indy-lambdas: initial implementation and tests (5 days ago) * 0bc386cb08b - (tag: build-1.5.20-dev-204) [IR] Fixed bug with reflectionTarget evaluation (5 days ago) * bb8bf28b8b8 - [PSI2IR] Set reflectionTarget for all adapted references (5 days ago) * 690fb47cbbd - (tag: build-1.5.20-dev-202) KT-44079 [Sealed Interfaces]: move refactoring update (5 days ago) * de3678a805b - (tag: build-1.5.20-dev-196) [JS IR] Add test with fun interface call inside lambda (5 days ago) * d6e74b9620e - [JS IR] Use local scope for SAM if there are scopes (5 days ago) * ca314c5bb99 - (tag: build-1.5.20-dev-194) FIR checker: add diagnostic CANNOT_WEAKEN_ACCESS_PRIVILEGE (5 days ago) * 3a07ca4c643 - FIR checker: add diagnostic VAR_OVERRIDDEN_BY_VAL (5 days ago) * 80d5a1a1dbe - FIR checker: add diagnostic OVERRIDING_FINAL_MEMBER (5 days ago) * 4ef1e1119fb - FIR LT: introduce positioning strategies for specific modifiers (5 days ago) * 0dd5b945565 - FIR checker: rename override checker (5 days ago) * b48835f3ce0 - FIR checker: fix positions of type mismatch on overrides (5 days ago) * 571c4ce3981 - [Test] Support new configuration directives in old codegen tests (5 days ago) * 8277c969337 - (tag: build-1.5.20-dev-184) FIR: copy nullability when mapping type alias arguments (5 days ago) * bd205317aae - (tag: build-1.5.20-dev-180) CLI: improve behavior of -include-runtime (5 days ago) * 496d857db14 - Add kotlin.build.disable.werror to disable -Werror locally (5 days ago) * 6a959fefd0e - [JVM_IR] Fix accessibility bridges for static protected fields. (5 days ago) * 62897a194bc - (tag: build-1.5.20-dev-175) [Commonizer] Force GC after each serialized target (6 days ago) * ff45e585434 - [Commonizer] Minor. Post-review changes, p.2 (6 days ago) * c8a938275ca - [Commonizer] Minor. Post-review changes (6 days ago) * 318dd22bd1a - [Commonizer] Add tests for CommonizerTarget (6 days ago) * 6fe5f85da75 - [Commonizer] Use kotlin/Any as the default supertype for commonized class (6 days ago) * 2438265ba8e - [Commonizer] Dump every target to disk immediately when it's ready (6 days ago) * 9c4af5070b7 - [Commonizer] Ignore acceptable (minor) metadata mismatches in tests (6 days ago) * a4438ad64f5 - [Commonizer] Fix calculation of type parameter IDs for nested classes and their members (6 days ago) * 55c37183d91 - [Commonizer] Ignore constructors for enum entries (6 days ago) * dfd1a536244 - [Commonizer] Don't serialize kotlin/Any? as the single type parameter upper bound (6 days ago) * 1c8cd242bfc - [Commonizer] Don't write IS_EXPECT flag for synthesized expect functions (6 days ago) * 9d6c0e56edb - [Commonizer] Fix HAS_ANNOTATIONS flag calculation for serialized classes (6 days ago) * b39a2056719 - [Commonizer] Minor. Improved diagnostics message in tests (6 days ago) * 80b95a22a4a - [Commonizer] Fix property backing/delegate field annotations serialization (6 days ago) * 3b91d1c5e5e - [Commonizer] Don't commonize built-ins (6 days ago) * 585cd64b9a8 - [Commonizer] Drop descriptors for commonized declarations (6 days ago) * 5ff6b5ef423 - [Commonizer] Rework test infrastructure to compare metadata instead of descriptors (6 days ago) * f67a9615b81 - [Commonizer] Pretty target name output in console (6 days ago) * e5aa7726392 - [Commonizer] Fix approximation for aliases types (6 days ago) * 4c640e3f811 - [Commonizer] Log stats during building metadata (6 days ago) * d610837caff - [Commonizer] Integrate metadata builder with the commonizer environment (6 days ago) * 2bcaf1fa635 - [Commonizer] Introduce metadata builder (6 days ago) * e28c1fd3107 - Metadata: Chunked KlibModuleFragmentWriteStrategy implementation (6 days ago) * 9551e0fff20 - [Commonizer] Introduce MetadataDeclarationsComparator for metadata-based comparison of KLIBs (6 days ago) * 701374a6464 - [Commonizer] Embed :kotlinx-metadata-klib into the commonizer Jar (6 days ago) * 08cc904a713 - [Commonizer] Restore lost nullability for underlying types in TAs (6 days ago) * 85f79695b93 - [Commonizer] Avoid leaking non-commonized underlying types in TAs (6 days ago) * 4bf6e58f2ba - (tag: build-1.5.20-dev-174) [TD] Fix directive order in codegen testdata (6 days ago) * 3f10914f05b - (tag: build-1.5.20-dev-158) [JS] Replace usages of FileUtil.loadTextAndClose with functions from stdlib to avoid crashes on files larger than 10MiB (6 days ago) * 165533fdb72 - (tag: build-1.5.20-dev-155) JS DCE: use Multimaps to reduce Node fields RAM (6 days ago) * f42f2fa743c - JS DCE: disable logging by default (6 days ago) * 26ce6b5131f - JS DCE: inline Qualifier class to reduce RAM usage (6 days ago) * bbc6d2b9936 - JS DCE: use less LinkedHashSets (6 days ago) * 3c0b2263440 - JS DCE: create collections on demand (6 days ago) * 0ebb39a26ea - (tag: build-1.5.20-dev-153) [Test] Exclude multimodule tests from codegen tests on android (6 days ago) * 17d59e0daac - [Test] Support skip of android codegen tests with new ASSERTION_MODE directive (6 days ago) * 81ba7aa8335 - [Test] Use javac for compilation test java files from runtime by default (6 days ago) * e9cb30b4f3b - [Test] Add ability to use custom CompilerConfigurationProvider (6 days ago) * c432efc3648 - [Build] Extract configuration of JUnit5 dependencies to common helper in buildSrc (6 days ago) * dea3c954f12 - [Test] Add ability to stop test pipeline if there was an exception in handler (6 days ago) * 2ae35b0b085 - [Test] Move fir backend tests back to :compiler:fir2ir module (6 days ago) * e79d02f482d - [Test] Don't generate extends clause for nested classes in generated tests for JUnit5 (6 days ago) * a4e9ab90a0d - [Test] Migrate :tests-different-jdk on runners which are using JUnit5 (6 days ago) * c969a346441 - [Test] Set static field with application to null after tests are completed (6 days ago) * 53e5aa43643 - [Test] Don't use PSI based class reading in codegen BB tests (6 days ago) * 09ec3f6eaf0 - [Test] Support various jdk targets in test infrastructure (6 days ago) * 93741ced5ce - [Test] Read default target version from sys property in new test infra (6 days ago) * a3ad626f99a - [Test] Support invoking `box` method in BB tests in separate process (6 days ago) * b351ca6bd40 - [Test] Regenerate spec tests (6 days ago) * 3199ce03a62 - [Test] Merge box against java testdata into codegen black box testsdata (6 days ago) * e62b118351e - [TD] Ignore JS backends in boxAgainstJava tests (6 days ago) * 99cb85ab005 - [Test] Merge box against java tests into codegen black box tests (6 days ago) * 6f3713af5f5 - [Test] Migrate AbstractIrCompileKotlinAgainstKotlinTest to new infrastructure (6 days ago) * 49c2bfe637e - [Test] Enable SMAP dump handler in boxInline tests (6 days ago) * 64a300bfcde - [TD] Update testdata according to previous commit (6 days ago) * 3a0eee64b87 - [Test] Migrate all jvm tests runners for boxInline tests (6 days ago) * 8973e3f362a - [TD] Update fir directives in boxInline tests (6 days ago) * 92e21e76bae - [Test] Implement SMAP dump handler (6 days ago) * e3ab3d6be38 - [Test] Align lines in TestFile with lines in real testdata file (6 days ago) * 60e0831c119 - [Test] Introduce two module structure transformers for codegen test (6 days ago) * 13a778fd9c0 - [Test] Add ability to freely transform module structure which was parsed from directive (6 days ago) * fc83dc17fe8 - [Test] Support USE_OLD_INLINE_CLASSES_MANGLING_SCHEME directive (6 days ago) * 3f758a3fa20 - [Test] Make BytecodeInliningHandler for new infrastructure (6 days ago) * 0768a7089ca - [TD] Fix friend modules (6 days ago) * 5075484c8e5 - [TD] Update directives in kotlinAgainstKotlin testdata (6 days ago) * 9ba41c5b885 - [Test] Improve error reporting if there are too many values passed to directive (6 days ago) * 5c8d555808b - [Test] Move KotlinAgainstKotlin tests under BlackBoxCodegen tests (6 days ago) * 1ea4fa4464d - (tag: build-1.5.20-dev-147) Fix android test with type annotations. Remove obsolete JVM 8 flavors (6 days ago) * c13f38f6dfe - Support proper frame maps for enumValues (6 days ago) * 1a044e5af47 - Support proper frame maps for enum valueOf (6 days ago) * 5b64ceceb30 - JVM_IR. Generate additional checkcast for when/try epressions to avoid frame map problems on reification (6 days ago) * 16928d6e3fc - Don't remove checkcast for reified values (6 days ago) * 0b0ba7d9872 - Don't use warningsAsError in compiler modules if useFIR is ON (6 days ago) * d953a038071 - (tag: build-1.5.20-dev-146) Specify type explicitly in KotlinCoreProjectEnvironment.createCoreFileManager to allow overriding this method with different implementation (6 days ago) * 21000f4174f - [FIR] Support TypeVariableMarker.isReified (6 days ago) * 465261e6115 - FIR: don't create intersection override for duplicating symbols (6 days ago) * b9c33a0c6ef - [i18n] copy-paste message from RefactoringBundle to fix missing resource in 202 (6 days ago) * 2fce6a4af90 - (tag: build-1.5.20-dev-127) Locate build history when file is outside of root project dir (6 days ago) * 5de34b052fa - (tag: build-1.5.20-dev-125) Remove unsupported '!' from DIAGNOSTICS directive (6 days ago) * e2b7aba0862 - (tag: build-1.5.20-dev-122) Do not report UNNECESSARY_SAFE_CALL on ErrorType (6 days ago) * 59551eb0371 - [Plugin API] Provide diagnostic API for IR plugins (6 days ago) * 9fa5feeeea2 - [CLI] Provide `MessageCollector` based logger for IR from CLI (6 days ago) * daa65a2fffa - [KLIB] Handle linkage error (6 days ago) * bf67308cc2e - [KLIB] Use `IrMessageLogger` in klib linker to report errors (6 days ago) * 6891ad0dfc5 - [IR] Add `IrMessageLogger` interface for diagnostic reporting from IR (6 days ago) * bb66b2fd044 - Drop redundant compile dependency (6 days ago) * c5068b7d45f - [KLIB] Drop unused logger (6 days ago) * 484b884d04e - [KLIB] Make `IrModuleDeserializer`'s printable (6 days ago) * d6bb1f2d4e6 - [KLIB] Make `KotlinLibraryImpl` printable (6 days ago) * 24d82c63e0d - [JS IR] Commonize CLI error reporting (6 days ago) * ba5193870e7 - [IR] Drop unused language version settings parameters from DependenciesGenerator (6 days ago) * 06498c0efdb - (tag: build-1.5.20-dev-121) Support for macos_arm64 target in backend (6 days ago) * f255f93ad94 - (tag: build-1.5.20-dev-117) [Test] Support skip of android codegen tests with new ASSERTION_MODE directive (6 days ago) * eff13d24dc9 - (tag: build-1.5.20-dev-106) Remove unneeded language feature configuration from fir:tree (7 days ago) * e47dfcbe648 - (tag: build-1.5.20-dev-102) Update ReadMe.md (#3877) (7 days ago) * 18cebe51314 - (origin/yakovlev/fir_incomplete_types) [FIR IDE] Codereview minor refactoring (7 days ago) * e529a7bf9bc - [FIR IDE] Implement isInheritor for FirLightClassForClassOrObjectSymbol (7 days ago) * 56db4bd1acf - [FIR IDE] Implement isInheritor for KtFirBasedFakeLightClass (7 days ago) * 5d4606daaa5 - [FIR IDE] Remove LightClassProvider (7 days ago) * 28120348963 - [FIR IDE] Make KtFakeLightClass independent (7 days ago) * c1cdf273a60 - [FIR IDE] Fix test data fir parameters highlighting test (7 days ago) * 9f282e0ddc6 - [FIR] Do not erase type arguments for unresolved method calls (7 days ago) * 659d2c13b4a - [FIR IDE] Fix annotation value parameter and ctor resolve (7 days ago) * 019635189a8 - [FIR IDE] Fix annotation call reference resolve to ctor (7 days ago) * 65b6a95f642 - [FIR IDE] Fix structure element non analyzable elements recording for analyzable properties (7 days ago) * 5480faf5c59 - (tag: build-1.5.20-dev-98) Add tests for issues fixed in JVM IR and other obsolete issues (7 days ago) * 3e59adc7f3f - (tag: build-1.5.20-dev-94) Add change-notes for 1.4.30 release (7 days ago) * 90f9dd5b330 - (tag: build-1.5.20-dev-93) Revert change-notes for 1.4.30 (7 days ago) * 206b38f0ab0 - (tag: build-1.5.20-dev-92) Fix compilation against asm 7.0 (7 days ago) * 78c6e0733c8 - Add change-notes for 1.4.30 (7 days ago) * 1f62fee4f94 - (tag: build-1.5.20-dev-89) Fix typo (7 days ago) * 593fb8770b3 - [FIR] Fix lookup order for statics in super chains (7 days ago) * 4ec369ac5be - (tag: build-1.5.20-dev-83) JVM_IR fix special bridge generation for inline classes (7 days ago) * 8172ae5d89d - (tag: build-1.5.20-dev-82) Fix codegen test classLiteralWithExpectedType.kt on Android (7 days ago) * bd3bc13e752 - (tag: build-1.5.20-dev-81) JVM_IR: give loops somewhat more debuggable labels (7 days ago) * ad53fc931e6 - JVM: optimize temporary `kotlin.jvm.internal.Ref`s as well (7 days ago) * 0f2ca5d84c0 - JVM_IR: support non-local break/continue in the inliner (7 days ago) * 4a172286217 - (tag: build-1.5.20-dev-77) Infer required kotlin-test jvm capability based on used test framework (7 days ago) * cbeadba15d2 - Disable metadata publishing for legacy common artifacts (7 days ago) * 573aac7252e - Apply common configuration to custom publications in kotlin-test (7 days ago) * a16aaa38240 - Setup publications with MPP Gradle metadata for kotlin-test library (7 days ago) * 913c298be85 - (tag: build-1.5.20-dev-72) Kotlin highlight passes are reworked (7 days ago) * 558338f9970 - Lazy diagnostics API in frontend (7 days ago) * 8f675fe757f - (tag: build-1.5.20-dev-67) Split combined test into two to avoid flaky behaviour (7 days ago) * 9ad88a5a0d7 - (tag: build-1.5.20-dev-66) FIR: introduce parameter type is Throwable check (7 days ago) * 5c0231b727d - FIR: introduce CatchParameterChecker (7 days ago) * d8549d62924 - (tag: build-1.5.20-dev-62) Build: fix inaccurate change to the logic of useIRForLibraries (7 days ago) * e9436da858e - Change logic of applying JVM target from AGP options (7 days ago) * adfa8c788ca - Light classes: use JVM target from the module (7 days ago) * 64e97225b8a - Light classes: map annotation targets depending on JVM target (7 days ago) * d022bb0248a - Switch default JVM target to 1.8 (7 days ago)