Nikolay Krasko
043e3a6a02
Merge commits from both masters and update to 1.5.0-dev-1023
...
Kotlin/Native base commit: 858a1d77dd0f92d5f926a1ab3d5ab61230758714
Merge branches 'to-native-merge' and 'tmp_branch4merge' into native-merge
2020-12-29 00:15:37 +03:00
Vasily Levchenko
53c301faec
[kotlin compiler][update] 1.5.0-dev-1023
...
* 33892f3ddf - (HEAD -> master, tag: build-1.5.0-dev-1023, origin/master, origin/HEAD) Make checker tests independent of plugin version (KTI-433) (vor 2 Tagen) <Nikolay Krasko>
* f72cec7904 - Minor: remove unused methods (vor 2 Tagen) <Nikolay Krasko>
* 37473ad640 - (tag: build-1.5.0-dev-1019) Substitute lambda's receiver type during completion including the builder inference stub variables substitution (vor 2 Tagen) <Victor Petukhov>
* 672859d447 - (tag: build-1.5.0-dev-1015) [Wasm] Support init blocks in inline classes (vor 3 Tagen) <Svyatoslav Kuzmich>
* 0945c110bf - [JS IR] Support init blocks in inline classes (vor 3 Tagen) <Svyatoslav Kuzmich>
* 07b6f0d871 - (tag: build-1.5.0-dev-1007) Fix failing tests (vor 3 Tagen) <Victor Petukhov>
* 0d40fde713 - (tag: build-1.5.0-dev-1003) FIR synthetics: make setter subtype check more precise #KT-43347 Fixed (vor 3 Tagen) <Mikhail Glukhikh>
* 8c8f81330a - FIR Java: make value parameter annotations lazy (vor 3 Tagen) <Mikhail Glukhikh>
* 1239a8629e - FIR Java: make type annotations lazy (vor 3 Tagen) <Mikhail Glukhikh>
* 776c4ba6ca - Add test for KT-25489 (to reproduce, turn UL classes OFF) (vor 3 Tagen) <Mikhail Glukhikh>
* 532124d9a1 - (tag: build-1.5.0-dev-1001) Increase timeout for flaky muted tests synchronization requests (vor 3 Tagen) <Yunir Salimzyanov>
* f2ecf7f666 - Mute MultiModuleHighlightingTest via csv-file (vor 3 Tagen) <Yunir Salimzyanov>
* 7ed6aae46e - (tag: build-1.5.0-dev-998) Fix tests after rebasing (vor 3 Tagen) <Victor Petukhov>
* 50a388aec1 - Mute wasm tests around builder inference and callable references (vor 3 Tagen) <Victor Petukhov>
* 0dde5ddd7e - Fail calls constraints of which contain uninferred type parameter (vor 3 Tagen) <Victor Petukhov>
* 9afc13f002 - Unwrap block expressions to report errors on them about not enough type information (vor 3 Tagen) <Victor Petukhov>
* 4c56962678 - Report errors on callable references which contains postponed type variables in the receiver type (vor 3 Tagen) <Victor Petukhov>
* 86edc5ca3a - Reuse information from already recorder descriptor for some callable references and don't rewrite at slice (vor 3 Tagen) <Victor Petukhov>
* 1926434b18 - Report error about uninferred type parameter for some special call' subcalls (vor 3 Tagen) <Victor Petukhov>
* 0b472f858b - Don't create DONT_CARE type for CR and lambdas within builder inference calls (vor 3 Tagen) <Victor Petukhov>
* b4d8adeeb4 - Don't clean type info for containment operator if the resolution was unsuccessful, but all diagnostics were about only input types and non-strict only input types check was enabled (vor 3 Tagen) <Victor Petukhov>
* 954c9cecca - Compute type for callable references and lambdas inside not null assertion if couldn't get already recorded type (vor 3 Tagen) <Victor Petukhov>
* 39e579db91 - Move tests for builder inference into the corresponding directory (vor 3 Tagen) <Victor Petukhov>
* 9b148325fe - (tag: build-1.5.0-dev-985) Minor: regenerate tests (vor 3 Tagen) <Dmitry Petrov>
* 9715ae88fe - (tag: build-1.5.0-dev-983) Minor: regenerate tests (vor 3 Tagen) <Dmitry Petrov>
* 03594baa07 - (tag: build-1.5.0-dev-973) [IR] Improve dumpKotlinLike (vor 4 Tagen) <Zalim Bashorov>
* f7b0f55532 - [JS IR test] Add an ability to setup phases to dump after and phases to validate after in box tests using system properties (vor 4 Tagen) <Zalim Bashorov>
* ee60a1a431 - [IR] Add an ability to change dump strategy using a system property (vor 4 Tagen) <Zalim Bashorov>
* 274b09cf36 - [JS IR] Support generating JS expression from IrComposite (vor 4 Tagen) <Zalim Bashorov>
* 72593e3d30 - [JS IR] Revert jsClass_js-ir.kt to not break compatibility with older compiler versions (vor 4 Tagen) <Zalim Bashorov>
* d7e3f826bb - [JS IR] Generate jsClass function inside the compiler instead of relying on declaration inside stdlib (vor 4 Tagen) <Zalim Bashorov>
* df6635085b - [JS IR] Replace calls with invalid type arguments for type parameters with call to `errorCode` function from runtime. (vor 4 Tagen) <Zalim Bashorov>
* ff77155b5a - [JS IR] A type argument of the jsClass intrinsic must be a class (IrClass) (vor 4 Tagen) <Zalim Bashorov>
* c1f6a72ae1 - [JS IR] Remove inline properties with reified parameters (vor 4 Tagen) <Zalim Bashorov>
* da8dacb495 - [JS IR] run RemoveInlineFunctionsWithReifiedTypeParametersLowering earlier (vor 4 Tagen) <Zalim Bashorov>
* bc9828f3f3 - [JS IR] Generate a key using hashedMangle for all IR declarations in mapToKey (vor 4 Tagen) <Zalim Bashorov>
* 7c5ea414b7 - [JS IR] Use mappedNames in NameTable only for REPL (vor 4 Tagen) <Zalim Bashorov>
* faa24e3230 - (tag: build-1.5.0-dev-972) KT-44043 Sealed interfaces: 201/203 compatibility fix (vor 4 Tagen) <Andrei Klunnyi>
* a1574bf50a - (tag: build-1.5.0-dev-971) JVM box tests for KT-30548 (vor 4 Tagen) <Dmitry Petrov>
* daa6255ab7 - (tag: build-1.5.0-dev-966) Update testdata of PsiCheckerSealedTest after 07b980fe (vor 4 Tagen) <Dmitriy Novozhilov>
* f00e5b1992 - (tag: build-1.5.0-dev-964) FIR: Check `relativeClassName` of found class in `JavaSymbolProvider` (vor 4 Tagen) <Roman Golyshev>
* 2ce51a4c11 - (tag: build-1.5.0-dev-962) [Gradle, JS] Fix tests with decamelizing names (vor 4 Tagen) <Ilya Goncharov>
* 0bd4de65e1 - [Gradle, JS] Fix upper case names in js files, decamelize instead (vor 4 Tagen) <Ilya Goncharov>
* 9c67d8f89e - (tag: build-1.5.0-dev-961) IC Mangling: Correctly mangle functions with generic return type (vor 4 Tagen) <Ilmir Usmanov>
* f8cca288ab - (tag: build-1.5.0-dev-959) KT-44075 Sealed interfaces: New Kotlin Class/File menu update (vor 4 Tagen) <Andrei Klunnyi>
* 740b8a9aec - (tag: build-1.5.0-dev-958) [Commonizer] Fix computing outer class type arguments (vor 4 Tagen) <Dmitriy Dolovov>
* 8bd4e67341 - (tag: build-1.5.0-dev-954) [Test] Drop obsolete FIR tests (vor 4 Tagen) <Dmitriy Novozhilov>
* 660c438ebe - [Test] Migrate tests of foreign annotations to new infrastructure (vor 4 Tagen) <Dmitriy Novozhilov>
* ef3d966d53 - [Test] Fix dependencies in task `[JPS] Generate All Tests` (vor 4 Tagen) <Dmitriy Novozhilov>
* 8689fc43cd - [Test] Move java generation utils to :compiler:tests-compiler-utils module (vor 4 Tagen) <Dmitriy Novozhilov>
* cb7b1652e7 - [Test] Extract MockLibraryUtil to :compiler:tests-compiler-utils (vor 4 Tagen) <Dmitriy Novozhilov>
* eadec08937 - [Test] Reformat MockLibraryUtil according to code style (vor 4 Tagen) <Dmitriy Novozhilov>
* e287742842 - [Test] Add ability to provide additional analysis flags in EnvironmentConfigurator (vor 4 Tagen) <Dmitriy Novozhilov>
* c4691de72d - [Test] Deprecate AbstractDiagnosticsTest in old test infrastructure (vor 4 Tagen) <Dmitriy Novozhilov>
* a9f913a97f - [Test] Migrate AbstractDiagnosticsWithJdk15Test to new infrastructure (vor 4 Tagen) <Dmitriy Novozhilov>
* 02fb11a2cd - [Test] Fix double reading of module directives (vor 4 Tagen) <Dmitriy Novozhilov>
* 0e3ed3fee6 - [Test] Remove duplicating code from ClassicFrontend2IrConverter (vor 4 Tagen) <Dmitriy Novozhilov>
* 1a03d5c93e - (tag: build-1.5.0-dev-949) Fix ISE when inferring type of a property that delegates to itself (vor 4 Tagen) <Denis.Zharkov>
* cbb8459e4e - Fix AE: No receiver found on incomplete code with $-signs (vor 4 Tagen) <Denis.Zharkov>
* 77d4a46a6b - Fix light classes exception occurring on obfuscated Kotlin libraries (vor 4 Tagen) <Denis.Zharkov>
* 7b9f6c1560 - Fix exceptions caused by cyclic dependency between ModuleDescriptor and JvmBuiltIns (vor 4 Tagen) <Denis.Zharkov>
* 5a8dc00a0d - Rename JvmBuiltInsSettings -> JvmBuiltInsCustomizer (vor 4 Tagen) <Denis.Zharkov>
* 70ae756083 - (tag: build-1.5.0-dev-947) Revert "[Test] Save TargetBackend instead of BackendKind in TestModule" (vor 4 Tagen) <Dmitriy Novozhilov>
* 07b980fea0 - (tag: build-1.5.0-dev-943) [FE] Fix error message of SEALED_INHERITOR_IN_DIFFERENT_PACKAGE diagnostic (vor 4 Tagen) <Dmitriy Novozhilov>
* 29d923d50d - [Test] Save TargetBackend instead of BackendKind in TestModule (vor 4 Tagen) <Dmitriy Novozhilov>
* 70c4bdf32e - [FE] Detect recursion when typealias referenced as annotation in its RHS (vor 4 Tagen) <Dmitriy Novozhilov>
* d3349197ba - (tag: build-1.5.0-dev-925) Minor: regenerate tests (vor 4 Tagen) <Dmitry Petrov>
* 4e261cc358 - JVM_IR KT-24258 fix NPE message for delegated properties (vor 4 Tagen) <Dmitry Petrov>
* ad8bed078f - JVM box tests for KT-24193 (vor 4 Tagen) <Dmitry Petrov>
* a8d848ccbd - JVM box tests for KT-23974 (vor 4 Tagen) <Dmitry Petrov>
* 3f7a776fb8 - JVM box tests for KT-21092 (vor 4 Tagen) <Dmitry Petrov>
* 0841a6b0ea - irText tests for KT-19306 (vor 4 Tagen) <Dmitry Petrov>
* 9f908cdf7c - JVM box tests for KT-16752 (vor 4 Tagen) <Dmitry Petrov>
* 8bfcef415e - Do not generate variables for non-generated fields (vor 4 Tagen) <Ilmir Usmanov>
* 8a7bc2ef6f - Rename continuation fields according the convention and count them in IR (vor 4 Tagen) <Iaroslav Postovalov>
* cd2b05eb00 - Discard misc.xml changes (vor 4 Tagen) <Iaroslav Postovalov>
* 165ba85337 - Remove useless OptIn annotation (vor 4 Tagen) <Iaroslav Postovalov>
* b13822bb2d - Remove unrelated change (vor 4 Tagen) <Iaroslav Postovalov>
* 6f34f00c61 - Do not generate the field for unused parameters in suspend lambdas (vor 4 Tagen) <Iaroslav Postovalov>
* f49cf2d5ca - (tag: build-1.5.0-dev-920) IC Mangling: correctly mangle inline default functions (vor 5 Tagen) <Ilmir Usmanov>
* 7c9cf45a3f - (tag: build-1.5.0-dev-915) FIR IDE: fix testdata (vor 5 Tagen) <Ilya Kirillov>
* b2b364eca6 - FIR IDE: resolve fir file to BODY_RESOLVE when it requested by getOrBuildFir (vor 5 Tagen) <Ilya Kirillov>
* fa42f9302e - FIR IDE: unmute passing test (vor 5 Tagen) <Ilya Kirillov>
* ce77903898 - FIR IDE: add deadlock checking for read/write resolve locks (vor 5 Tagen) <Ilya Kirillov>
* 0ec152e457 - FIR IDE: fix deadlock in override check (vor 5 Tagen) <Ilya Kirillov>
* 8a17a16ee2 - FIR IDE: consider modification in invalid PSI as OOBM (vor 5 Tagen) <Ilya Kirillov>
* d06a5fb413 - FIR IDE: disable some script stuff in FIR plugin as causes exceptions (vor 5 Tagen) <Ilya Kirillov>
* 70b1edb81d - FIR IDE: allow using some light classes stuff from EDT :( (vor 5 Tagen) <Ilya Kirillov>
* 306b46b8f2 - FIR IDE: consider FirErrorReferenceWithCandidate as reference with error (vor 5 Tagen) <Ilya Kirillov>
* 9a86d2e10c - FIR IDE: do not mark declaration with some lazy resolve phase if only some children are resolved to that phase (vor 5 Tagen) <Ilya Kirillov>
* 1e2536402d - FIR: render constructor resolve phase in FirRenderer when renderDeclarationResolvePhase is requested (vor 5 Tagen) <Ilya Kirillov>
* 85c65e20b3 - FIR: add meaningful error message when type ref is unresolved (vor 5 Tagen) <Ilya Kirillov>
* 6ad396f417 - FIR: use transformer creator from existing return type calculator when creating a new one (vor 5 Tagen) <Ilya Kirillov>
* 68f6e734be - FIR IDE: add test case for resolving call as value argument (vor 5 Tagen) <Ilya Kirillov>
* af5aa5fa66 - FIR IDE: add more info to the call resolve error message (vor 5 Tagen) <Ilya Kirillov>
* c5788290f3 - FIR IDE: refactor: move designation & transformer creation in lazy resolve to separate functions (vor 5 Tagen) <Ilya Kirillov>
* c61b0d1f31 - FIR IDE: fix designation collection for lazy resolve (vor 5 Tagen) <Ilya Kirillov>
* 3aef1154c8 - FIR IDE: Get rid of `FirTransformerProvider` class (vor 5 Tagen) <Roman Golyshev>
* d3cab96ca0 - FIR IDE: consider declaration to be lazy resolvable if it has fqName (vor 5 Tagen) <Ilya Kirillov>
* 8e592bdff0 - FIR IDE: invalidate analysis session cache on out of block (vor 5 Tagen) <Ilya Kirillov>
* 9c26edbaaa - FIR IDE: split ValidityToken.isValid into isValid & isAccessible (vor 5 Tagen) <Ilya Kirillov>
* a2befd4635 - FIR IDE: add missing ClsJavaStubByVirtualFileCache service (vor 5 Tagen) <Ilya Kirillov>
* eead868cd2 - FIR IDE: use correct out of block modification tracker (vor 5 Tagen) <Ilya Kirillov>
* 0862928bf7 - FIR IDE: move KotlinOutOfBlockModificationTrackerFactory to frontend independent module (vor 5 Tagen) <Ilya Kirillov>
* a30d9e0ed3 - FIR: add fake source fir element to `it` parameter symbol (vor 5 Tagen) <Ilya Kirillov>
* af0e8b28d5 - FIR IDE: add missing statistic extension points (vor 5 Tagen) <Ilya Kirillov>
* b35d4134a7 - (tag: build-1.5.0-dev-913) Psi2IR: workaround for IR-based descriptors (vor 5 Tagen) <Georgy Bronnikov>
* 99c874ba8a - IR: use NullDescriptorRemapper in DeepCopySymbolRemapper (vor 5 Tagen) <Georgy Bronnikov>
* c5961da780 - IR: remove WrappedDescriptors altogether (vor 5 Tagen) <Georgy Bronnikov>
* e9f45e23f2 - IR: NullDescriptorsRemapper (vor 5 Tagen) <Georgy Bronnikov>
* 3683cd0f7b - IR: fix IrBasedTypeAliasDescriptor (vor 5 Tagen) <Georgy Bronnikov>
* 076272f7ca - FIR2IR: avoid descriptors computing hashCode (vor 5 Tagen) <Georgy Bronnikov>
* b07dccb8d7 - Fir2IR: remove wrapped descriptors (vor 5 Tagen) <Georgy Bronnikov>
* b05400154d - IR: remove IrSymbolDeclaration (vor 5 Tagen) <Georgy Bronnikov>
* d714adacae - IR: removing WrappedDescriptors from symbols (vor 5 Tagen) <Georgy Bronnikov>
* 989d4350b1 - IR: make descriptor optional in IrSymbol (vor 5 Tagen) <Georgy Bronnikov>
* aaa3f2e2c1 - (tag: build-1.5.0-dev-906) FIR2IR: correct IR origin for substitution overrides (vor 5 Tagen) <Jinseong Jeon>
* 34dbbdce07 - FIR2IR: use lookupTag or class to getLocalClass, not classId (vor 5 Tagen) <Jinseong Jeon>
* 94315bc4dc - (tag: build-1.5.0-dev-903) Remove mapping to kotlin-ultimate from vsc.xml (vor 5 Tagen) <Alexander Dudinsky>
* 632f5af442 - (tag: build-1.5.0-dev-900) Minor: kt21014.kt - add JVM_TARGET 1.8 (vor 5 Tagen) <Dmitry Petrov>
* 10a5727260 - (tag: build-1.5.0-dev-893) Merge together MultiplatformHighlighting and MultiplatformAnalysis tests (vor 5 Tagen) <Alexander Dudinsky>
* 73576c80e4 - (tag: build-1.5.0-dev-890) FIR2IR: calculate IR parent for Java field ahead (vor 5 Tagen) <Jinseong Jeon>
* 89577543a2 - (tag: build-1.5.0-dev-888) Build: Disable plugin marker publication for sonatype (vor 5 Tagen) <Vyacheslav Gerasimov>
* 107a825c5f - (tag: build-1.5.0-dev-882) Make FileDescriptorForVisibilityCheck subtype of PackageFragmentDescriptor (vor 5 Tagen) <Mikhail Glukhikh>
* 3ae8521f12 - (tag: build-1.5.0-dev-877) Minor: drop kt21014.kt (SIGSEGV on HotSpot 6.0_45-b06) (vor 6 Tagen) <Dmitry Petrov>
* f647233189 - (tag: build-1.5.0-dev-872) Minor: drop empty bunch file (vor 6 Tagen) <Dmitry Petrov>
* 796d821776 - JVM_IR box tests for JDK9 (vor 6 Tagen) <Dmitry Petrov>
* c9d330207b - JVM_IR no nullability annotations on SAM wrapper constructor parameters (vor 6 Tagen) <Dmitry Petrov>
* 4780c73e40 - Ignore anonymous inner classes in LightAnalysisMode tests (vor 6 Tagen) <Dmitry Petrov>
* 0dff583070 - JVM KT-36984 SAM wrappers are anonymous inner classes (vor 6 Tagen) <Dmitry Petrov>
* 57dd9fc87a - JVM_IR KT-36984 SAM wrappers are anonymous inner classes (vor 6 Tagen) <Dmitry Petrov>
* 443cd0fc2c - (tag: build-1.5.0-dev-866) Tests for issues fixed in JVM_IR (vor 6 Tagen) <Dmitry Petrov>
* 5e5b236ef8 - (tag: build-1.5.0-dev-863) Extract record related parts into smaller bunch files for 201 (vor 6 Tagen) <Denis.Zharkov>
* e05d26b9b0 - (origin/push/mg-google-prs) FIR2IR: cache type parameters in delegated property (vor 6 Tagen) <Jinseong Jeon>
* 78fa8814c4 - FIR: unwrap f/overrides when determining mutability of property reference (vor 6 Tagen) <Jinseong Jeon>
* 0918e73dff - (tag: build-1.5.0-dev-854, tag: build-1.5.0-dev-834, origin/push/nk/all) Move wasm tests to JS tests configuration (KTI-419) (vor 7 Tagen) <Nikolay Krasko>
* 554fa358e8 - (tag: build-1.5.0-dev-829) [FIR] Fix calculating offsets of light tree source elements for local declarations (vor 7 Tagen) <Dmitriy Novozhilov>
* 298e27bdac - [Test] Migrate AbstractExtendedFirDiagnosticsTest to new infrastructure (vor 7 Tagen) <Dmitriy Novozhilov>
* a276d05917 - [Test] Generate FIR tests with new infrastructure in :analysis-tests module (vor 7 Tagen) <Dmitriy Novozhilov>
* 537e4f0bb4 - [Test] Move existing fir tests on old infrastructure to :legacy-fir-tests module (vor 7 Tagen) <Dmitriy Novozhilov>
* 1f258c28fc - [Test] Extract main compiler test generator to separate project (vor 7 Tagen) <Dmitriy Novozhilov>
* d753d21dee - (tag: build-1.5.0-dev-828) FIR2IR: don't add SAM conversion for explicit subtype cases (vor 7 Tagen) <Jinseong Jeon>
* 7df289746c - FIR: fix invoke lookup for SAM resolution (vor 7 Tagen) <Jinseong Jeon>
* 3bca6ae893 - FIR: allow lower bound of flexible type when finding contributed invoke (vor 7 Tagen) <Jinseong Jeon>
* 4a24f0fab3 - FIR2IR: use FirSamResolverImpl to get function type for possible SAM type (vor 7 Tagen) <Jinseong Jeon>
* d5a6991b2d - FIR: extend SAM conversion to subtype of functional type (vor 7 Tagen) <Jinseong Jeon>
* c6a40b2322 - (tag: build-1.5.0-dev-827) Optimize/simplify FirJvmTypeMapper.defaultType (vor 7 Tagen) <Mikhail Glukhikh>
* 3ab5b57594 - Optimize/simplify FirJvmTypeMapper.representativeUpperBound (vor 7 Tagen) <Mikhail Glukhikh>
* 42b590d07c - Optimize/simplify FirSealedClassConstructorCallChecker (vor 7 Tagen) <Mikhail Glukhikh>
* c94c71cc50 - Optimize/simplify ConeClassLikeLookupTag.getNestedClassifierScope (vor 7 Tagen) <Mikhail Glukhikh>
* 7add186616 - Optimize/simplify FirClass<*>.findNonInterfaceSupertype (vor 7 Tagen) <Mikhail Glukhikh>
* 3e8016ed25 - (tag: build-1.5.0-dev-819) KTIJ-717 [Java side inspection]: "implementation of Kotlin sealed" (vor 7 Tagen) <Andrei Klunnyi>
* 65cf941b9b - (tag: build-1.5.0-dev-818, origin/rr/ic/fixes-em) Remove assertion about dispatch receiver in scripts (vor 7 Tagen) <Ilya Chernikov>
* 0671fd9aaa - Support destructuring declarations in scratch files (vor 7 Tagen) <Ilya Chernikov>
* 9ee17cd610 - Do not throw assertion on recursion in typealias declaration, (vor 7 Tagen) <Ilya Chernikov>
* 02c617468f - Add support for a callback on recursion for memoized functions (vor 7 Tagen) <Ilya Chernikov>
* eef06cded3 - (tag: build-1.5.0-dev-815) JVM IR: output stable ABI binaries by default (vor 7 Tagen) <Alexander Udalov>
* e0593ff70f - Minor, extract CompilerConfiguration.messageCollector to extension property (vor 7 Tagen) <Alexander Udalov>
* 691b20a685 - JVM IR, FIR: set IR configuration key to true if FIR is enabled (vor 7 Tagen) <Alexander Udalov>
* 06805ffbaa - Change CLI flags for controlling diagnostics for ABI of FIR and JVM IR (vor 7 Tagen) <Alexander Udalov>
* 3f517d7e8d - Add new metadata flag for class files compiled with FIR (vor 7 Tagen) <Alexander Udalov>
* cbd90c3af5 - Refactor boolean IR ABI stability flag to enum (vor 7 Tagen) <Alexander Udalov>
* b7d32a8754 - Minor, invert analysis flag that allows unstable dependencies (vor 7 Tagen) <Alexander Udalov>
* 7d37030095 - JVM IR, FIR: add JvmBackendExtension instead of MetadataSerializerFactory (vor 7 Tagen) <Alexander Udalov>
2020-12-28 22:55:51 +03:00
Georgy Bronnikov
22c4406db1
Adapt to removal of WrappedDescriptors in master
...
(cherry picked from commit 2fe4105acfa0487f49b31ef90cb01249f8c9a137)
2020-12-28 22:55:51 +03:00
Alexander Shabalin
39805c72dc
Remove forced dependency of new MM on mimalloc ( #4617 )
2020-12-28 22:55:51 +03:00
Dmitriy Dolovov
e753ce048e
1.4.30-M1 changelog
2020-12-28 22:55:51 +03:00
Igor Chevdar
0314b91c15
[IR] Skip empty constructors in InitializersLowering
...
Such constructors are generated by serialization plugin
2020-12-28 22:55:51 +03:00
kdnakt
6475d1c5ce
Fix path in gitchurn project
2020-12-28 22:55:51 +03:00
Alexander Shabalin
d46b2e927c
Add ExtraObjectData ( #4602 )
2020-12-28 22:55:51 +03:00
Igor Chevdar
a6c119c3cd
[runtime] Old impl of RuntimeAssert for backward compatibility
2020-12-28 22:55:51 +03:00
SvyatoslavScherbina
d401d29418
Run stdlib tests in worker too
2020-12-28 22:55:50 +03:00
Alexander Shabalin
72fc5f5aee
Sketch mm::ObjectFactory ( #4583 )
2020-12-28 22:55:50 +03:00
Igor Chevdar
d239ff7f5a
Used optimized version of metadata serializer
2020-12-28 22:55:50 +03:00
Igor Chevdar
208294cf96
Optimized packages search
2020-12-28 22:55:50 +03:00
Nikolay Krasko
33892f3ddf
Make checker tests independent of plugin version (KTI-433)
2020-12-25 22:36:49 +03:00
Nikolay Krasko
f72cec7904
Minor: remove unused methods
2020-12-25 22:36:48 +03:00
Victor Petukhov
37473ad640
Substitute lambda's receiver type during completion including the builder inference stub variables substitution
...
^KT-42175 Fixed
2020-12-25 21:33:37 +03:00
Svyatoslav Kuzmich
672859d447
[Wasm] Support init blocks in inline classes
2020-12-25 17:00:23 +03:00
Svyatoslav Kuzmich
0945c110bf
[JS IR] Support init blocks in inline classes
2020-12-25 17:00:23 +03:00
Victor Petukhov
07b6f0d871
Fix failing tests
2020-12-25 14:29:11 +03:00
Mikhail Glukhikh
0d40fde713
FIR synthetics: make setter subtype check more precise #KT-43347 Fixed
2020-12-25 14:07:28 +03:00
Mikhail Glukhikh
8c8f81330a
FIR Java: make value parameter annotations lazy
2020-12-25 14:07:16 +03:00
Mikhail Glukhikh
1239a8629e
FIR Java: make type annotations lazy
2020-12-25 14:06:34 +03:00
Mikhail Glukhikh
776c4ba6ca
Add test for KT-25489 (to reproduce, turn UL classes OFF)
2020-12-25 14:06:16 +03:00
Yunir Salimzyanov
532124d9a1
Increase timeout for flaky muted tests synchronization requests
2020-12-25 12:28:37 +03:00
Yunir Salimzyanov
f2ecf7f666
Mute MultiModuleHighlightingTest via csv-file
2020-12-25 12:28:36 +03:00
Victor Petukhov
7ed6aae46e
Fix tests after rebasing
2020-12-25 11:53:21 +03:00
Victor Petukhov
50a388aec1
Mute wasm tests around builder inference and callable references
2020-12-25 11:53:21 +03:00
Victor Petukhov
0dde5ddd7e
Fail calls constraints of which contain uninferred type parameter
...
^KT-44055 Fixed
It's possible only if there is a callable reference among subcalls which go though the old type inference (and the error for uninferred type parameter wasn't reported)
2020-12-25 11:53:16 +03:00
Victor Petukhov
9afc13f002
Unwrap block expressions to report errors on them about not enough type information
...
^KT-44055 Fixed
2020-12-25 11:53:15 +03:00
Victor Petukhov
4c56962678
Report errors on callable references which contains postponed type variables in the receiver type
2020-12-25 11:53:15 +03:00
Victor Petukhov
86edc5ca3a
Reuse information from already recorder descriptor for some callable references and don't rewrite at slice
2020-12-25 11:53:15 +03:00
Victor Petukhov
1926434b18
Report error about uninferred type parameter for some special call' subcalls
2020-12-25 11:53:14 +03:00
Victor Petukhov
0b472f858b
Don't create DONT_CARE type for CR and lambdas within builder inference calls
...
It leads to leak such type to the back-end. Calls within a builder call should be updated without marking CR and lambdas with DONT_CARE type.
^KT-43845 Fixed
^KT-43956 Fixed
^KT-42622 Fixed
2020-12-25 11:53:14 +03:00
Victor Petukhov
b4d8adeeb4
Don't clean type info for containment operator if the resolution was unsuccessful, but all diagnostics were about only input types and non-strict only input types check was enabled
2020-12-25 11:53:09 +03:00
Victor Petukhov
954c9cecca
Compute type for callable references and lambdas inside not null assertion if couldn't get already recorded type
2020-12-25 11:52:59 +03:00
Victor Petukhov
39e579db91
Move tests for builder inference into the corresponding directory
2020-12-25 11:25:39 +03:00
Dmitry Petrov
9b148325fe
Minor: regenerate tests
2020-12-25 09:41:06 +03:00
Dmitry Petrov
9715ae88fe
Minor: regenerate tests
2020-12-25 09:15:47 +03:00
Zalim Bashorov
03594baa07
[IR] Improve dumpKotlinLike
...
* Generate a comment for modules.
* Fix printing supertypes for classes.
* Don't fail while printing constructor call if data's parent isn't IrClass
2020-12-24 20:03:24 +03:00
Zalim Bashorov
f7b0f55532
[JS IR test] Add an ability to setup phases to dump after and phases to validate after in box tests using system properties
2020-12-24 20:03:24 +03:00
Zalim Bashorov
ee60a1a431
[IR] Add an ability to change dump strategy using a system property
2020-12-24 20:03:23 +03:00
Zalim Bashorov
274b09cf36
[JS IR] Support generating JS expression from IrComposite
...
Except the case when it's empty.
2020-12-24 20:03:23 +03:00
Zalim Bashorov
72593e3d30
[JS IR] Revert jsClass_js-ir.kt to not break compatibility with older compiler versions
2020-12-24 20:03:23 +03:00
Zalim Bashorov
d7e3f826bb
[JS IR] Generate jsClass function inside the compiler instead of relying on declaration inside stdlib
...
We want to make its type parameter reified to do it we have to make it inline and non-external.
But we don't want to inline it in call sites and want prevent using it anywhere except places generated by the compiler.
In user code, including stdlib, we should use `K::class.js` instead.
Separately we have to intrinsify `K::class.js` to reduce overhead.
2020-12-24 20:03:23 +03:00
Zalim Bashorov
df6635085b
[JS IR] Replace calls with invalid type arguments for type parameters with call to errorCode function from runtime.
2020-12-24 20:03:22 +03:00
Zalim Bashorov
ff77155b5a
[JS IR] A type argument of the jsClass intrinsic must be a class (IrClass)
2020-12-24 20:03:22 +03:00
Zalim Bashorov
c1f6a72ae1
[JS IR] Remove inline properties with reified parameters
...
RemoveInlineFunctionsWithReifiedTypeParametersLowering -> RemoveInlineDeclarationsWithReifiedTypeParametersLowering
2020-12-24 20:03:22 +03:00
Zalim Bashorov
da8dacb495
[JS IR] run RemoveInlineFunctionsWithReifiedTypeParametersLowering earlier
...
It's required to avoid extracting local classes declarations and leaking some references to inline function internals.
2020-12-24 20:03:21 +03:00
Zalim Bashorov
bc9828f3f3
[JS IR] Generate a key using hashedMangle for all IR declarations in mapToKey
...
It is required to avoid "key" clashes and failing with ISE.
2020-12-24 20:03:21 +03:00
Zalim Bashorov
7c5ea414b7
[JS IR] Use mappedNames in NameTable only for REPL
...
And throw exception for unsupported types in mapToKey
2020-12-24 20:03:21 +03:00