Igor Yakovlev
da54dbba8e
[FIR IDE] LC Add callable declarations to KtFileSymbol
2020-12-16 12:29:53 +03:00
Igor Yakovlev
fb63b74b37
[FIR IDE] LC Add KtFileSymbol and fix facade annotations
2020-12-16 12:29:53 +03:00
Igor Yakovlev
46071c1925
[FIR IDE] LC fix annotations with special sites and nullability
2020-12-16 12:29:53 +03:00
Igor Yakovlev
2e7866ca86
[FIR IDE] LC Fix annotations and modifiers for class members
2020-12-16 12:29:52 +03:00
Igor Yakovlev
3019f439fb
[FIR IDE] LC More accurate processing for JvmSynthetic and JvmHidden annotations
2020-12-16 12:29:52 +03:00
Igor Yakovlev
3895ad375c
[FIR IDE] LC add jvmstatic method into companion object
2020-12-16 12:29:52 +03:00
Victor Petukhov
d32d0a65f0
Revert "Report warning on @JvmStatic in private companion objects"
...
This reverts commit 9669ab14
2020-12-16 10:24:18 +03:00
Victor Petukhov
94deddef7f
Revert "Minor: cover negative cases with test +m"
...
This reverts commit 04a4f9cd
2020-12-16 10:24:12 +03:00
Ilya Kirillov
5a9ff3471a
FIR IDE: fix function targets on context element copy
2020-12-15 22:16:04 +01:00
Ilya Kirillov
67fc1bcb3d
FIR IDE: add debug error message when not possible to find fir declarartion by psi
2020-12-15 22:16:03 +01:00
Ilya Kirillov
940ec06f5b
FIR IDE: precalculate completion context on dependent analysis session creation
2020-12-15 22:16:02 +01:00
Ilya Kirillov
40b1a4df5a
FIR IDE: temp mute failing find usages test
2020-12-15 22:16:01 +01:00
Ilya Kirillov
2d5b23b650
FIR IDE: separate KtExpressionTypeProvider into components
2020-12-15 22:16:00 +01:00
Ilya Kirillov
2101816f03
FIR IDE: add expected type calculation for function calls
...
does not work in case of incomplete call expression :(
2020-12-15 22:16:00 +01:00
Ilya Kirillov
7be8d69870
FIR IDE: add completion weighers tests for return/if/while
2020-12-15 22:15:59 +01:00
Ilya Kirillov
b16ebe2dc4
FIR IDE: consider if & while conditions expected type as boolean
2020-12-15 22:15:57 +01:00
Ilya Kirillov
c2d83353e8
FIR IDE: introduce builtin types container
2020-12-15 22:15:57 +01:00
Ilya Kirillov
835577383b
FIR IDE: introduce expected type provider for return expressions
2020-12-15 22:15:56 +01:00
Ilya Kirillov
299f36183c
FIR IDE: add tests for completion weighers from old testdata
2020-12-15 22:15:53 +01:00
Ilya Kirillov
19fff2b1e7
FIR IDE: implement expected type weigher for completion
2020-12-15 22:15:52 +01:00
Ilya Kirillov
c61d4b5f9c
FIR IDE: introduce return statement target provider
2020-12-15 22:15:51 +01:00
Ilya Kirillov
a0ed14eafe
FIR: use real source element for return statement
...
fix fir
2020-12-15 22:15:51 +01:00
Andrei Klunnyi
3af0257b38
KTIJ-664 [SealedClassInheritorsProvider]: IDE-specific implementation
2020-12-15 18:43:00 +01:00
Andrei Klunnyi
f02b73103b
KTIJ-650 [Code completion]: no "sealed" for classes with modifiers
...
annotation, data, enum, inner, open - classes supplied with these
modifiers cannot be sealed.
Commit fixes code completion - "sealed" is no longer suggested in
the mentioned case.
2020-12-15 18:43:00 +01:00
Andrei Klunnyi
fe64b13140
KTIJ-650 [Code completion]: support for "sealed interface"
...
^KTIJ-650 fixed
2020-12-15 18:10:23 +01:00
Svyatoslav Kuzmich
602ed42b99
[Wasm] Move intrinsic generators to generators/wasm
...
Reason: avoid kotlin-stdlib-gen dependency on kotlinStdlib() via wasm.ir
2020-12-15 19:44:19 +03:00
Jinseong Jeon
efeabac2c5
FIR: do not force coercion-to-Unit for nullable lambda return type
...
3d7d87ac should have been implemented as aafe41c did.
2020-12-15 17:52:49 +03:00
Jinseong Jeon
6239301f4e
FIR: no constraint for coerced-to-Unit last expression of lambda
2020-12-15 17:52:49 +03:00
Jinseong Jeon
4ab0897d7d
FIR: pass the explicit expected type to block type
...
This helps avoid adding redundant return Unit into block.
2020-12-15 17:52:48 +03:00
Jinseong Jeon
0ea6b32c01
NI: allow lower bound of flexible type for coercion-to-Unit
...
Example from
box/inference/coercionToUnitForLambdaReturnTypeWithFlexibleConstraint
// FILE: TestJ.java
public class TestJ {
public static <T> In<T> materialize() { return null; }
}
// FILE: test.kt
class In<in T>
fun <T> inferred(e: In<T>?, l: () -> T): T = l()
fun box() {
inferred(TestJ.materialize<Unit>(), { null })
}
`materialize` has flexible type, both for `In<T>` and `T`.
When analyzing `{ null }`, collected type constraints include:
ft<Unit?, Unit> <: T (from ft<In<ft<Unit, Unit?>>, In<ft<Unit, Unit?>>?>)
By allowing the lower bound of flexible type, FIR resolution can visit
`{ null }` with the expected type Unit, which will lead to proper
coercion to Unit at the end.
2020-12-15 17:52:48 +03:00
Dmitry Petrov
b0f6461fa9
JVM_IR KT-42020 special IdSignature for some fake override members
2020-12-15 12:56:45 +03:00
Jinseong Jeon
12cfba9ca9
FIR BB: remove stale test ignoring tags in old language versions
...
Since bf06d381 (move old Java nullability assertion tests...),
these tests aren't used by (Fir|Ir)BlackBoxCodegenTest anymore.
2020-12-15 11:52:50 +03:00
Jinseong Jeon
f7ade2b0b8
FIR2IR: introduce implicit casts for extension receivers
2020-12-15 11:52:49 +03:00
Dmitriy Dolovov
6e9ac6b333
[Commonizer] Internal tool for tracking memory usage
2020-12-15 09:48:27 +03:00
Igor Yakovlev
010a290132
[LC] Fix for light classes equivalence
2020-12-15 01:51:23 +03:00
Igor Yakovlev
45112a3c11
[ULC] Fix invalid positive inheritor for self checking
...
Fixed #KT-43824
2020-12-14 20:34:42 +03:00
Svyatoslav Scherbina
0f4173cdfa
Fix running stdlib tests in worker on Native
...
Add `@SharedImmutable` or `@ThreadLocal` where required.
2020-12-14 19:03:06 +03:00
Ilya Gorbunov
8f4e4a4d40
Specify common sources for stdlib test compilation tasks
...
Some multiplatform tests are compiled in single-platform projects:
- in kotlin-stdlib-jdk7
- in kotlin-stdlib-jdk8
- in kotlin-stdlib-js-ir. The latter is technically MPP but with a
single platform, so its common sources are not considered as common.
Pass information about common sources to test compilation tasks in order
to use OptionalExpectation annotations there.
Co-authored-by: Svyatoslav Scherbina <svyatoslav.scherbina@jetbrains.com >
2020-12-14 19:03:04 +03:00
Svyatoslav Scherbina
c094d77794
Fix DeepRecursiveFunction in worker on Native
...
Add `@SharedImmutable` to `UNDEFINED_RESULT` top-level property.
2020-12-14 19:03:03 +03:00
Svyatoslav Kuzmich
b3d8c4a0fc
[JS IR] Apply missing property for all tests tasks like jsIrTest and quickTest
2020-12-14 19:00:05 +03:00
Shagen Ogandzhanian
32cc95a3b0
[JS IR] Skip export annotations while generating default stubs
2020-12-14 16:41:27 +01:00
Svyatoslav Kuzmich
7efc95705a
[Wasm] Publish stdlib klib to maven
2020-12-14 17:47:19 +03:00
Stanislav Erokhin
6bebbb92a0
Merge commits from both masters and update to 1.5.0-dev-500 compiler
...
Kotlin/Native base commit: ed1035eb82d63dde60823852276901aaeacb644b
2020-12-14 15:37:29 +01:00
Pavel Punegov
f160d8ec36
Add resolving rule for META-INF/extensions/core.xml
...
by Dmitriy Novozhilov (Dmitriy.Novozhilov@jetbrains.com )
2020-12-14 15:31:10 +01:00
Vasily Levchenko
bd84f978ba
[kotlin compiler][update] 1.5.0-dev-500
...
* a0651cdba7 - (tag: build-1.5.0-dev-500) FIR IDE: add Java synthetic properties support for completion (vor 31 Stunden) <Ilya Kirillov>
* 48b7150566 - FIR IDE: split KtPropertySymbol into KtKotlinPropertySymbol and KtJavaSyntheticPropertySymbol (vor 31 Stunden) <Ilya Kirillov>
* 2201dd5198 - FIR: make FirSyntheticPropertiesScope to be name aware (vor 31 Stunden) <Ilya Kirillov>
* 8a5f260d04 - (tag: build-1.5.0-dev-496) [IR] Align debugging of suspend lambdas with old BE (vor 32 Stunden) <Kristoffer Andersen>
* 2be62c13b0 - (tag: build-1.5.0-dev-485) [Commonizer] Minor. Renamings (vor 2 Tagen) <Dmitriy Dolovov>
* b7330a9e14 - (tag: build-1.5.0-dev-481) JVM_IR KT-43877 fix generic signatures for SAM-converted lambdas (vor 2 Tagen) <Dmitry Petrov>
* dc11c2de77 - (tag: build-1.5.0-dev-477) IC Mangling: Use correct java field type if the type is inline class (vor 2 Tagen) <Ilmir Usmanov>
* 2b0a99b7b0 - IC Mangling: Use correct java field type if the type is inline class (vor 2 Tagen) <Ilmir Usmanov>
* 69bb65496f - IC Mangling: Change test since we pass boxed inline class to java method (vor 2 Tagen) <Ilmir Usmanov>
* cbb8eb494a - IC Mangling: Do not mangle functions with inline classes from Java (vor 2 Tagen) <Ilmir Usmanov>
* 0cab69a7a0 - IC Mangling: Do not mangle functions with inline classes from Java (vor 2 Tagen) <Ilmir Usmanov>
* 5aaaa3881d - (tag: build-1.5.0-dev-470, tag: build-1.5.0-dev-457) Refine diagnostic text for NULLABLE_TYPE_PARAMETER_AGAINST_NOT_NULL_TYPE_PARAMETER (vor 2 Tagen) <Denis.Zharkov>
* b143cb9ae5 - (tag: build-1.5.0-dev-450, tag: build-1.5.0-dev-444) Disable new test on WASM (vor 3 Tagen) <Mikhael Bogdanov>
* c922484758 - (tag: build-1.5.0-dev-443) [JVM_IR] Use direct field access to backing fields on current class. (vor 3 Tagen) <Mads Ager>
* 1d14926444 - (tag: build-1.5.0-dev-432) Re-enable evaluation tests in 201 platform (vor 3 Tagen) <Nikolay Krasko>
* 1bc369c63c - (tag: build-1.5.0-dev-428) Build: Enable caching for test task with enabled test distribution (vor 3 Tagen) <Vyacheslav Gerasimov>
* 8f2ad57f7a - (tag: build-1.5.0-dev-425) FIR: pass elvis expected type to lhs/rhs (vor 3 Tagen) <Jinseong Jeon>
* 41f56729f9 - FIR: serialize correct fqnames for local classes (vor 3 Tagen) <pyos>
* 12f936f6b7 - FIR2IR: do not approximate reified type arguments to super class (vor 3 Tagen) <pyos>
* 148d540580 - FIR checker: make unused checker visit qualified accesses in annotations (vor 3 Tagen) <Jinseong Jeon>
* 5efe774dba - FIR: remap Java meta-annotations to Kotlin equivalents (vor 3 Tagen) <pyos>
* a9ad85f306 - (tag: build-1.5.0-dev-423) FIR IDE: temporary mute find usages test as it fails because of incorrect resolve of init blocks (vor 3 Tagen) <Ilya Kirillov>
* 170928f498 - FIR IDE: allow type rendering only in analysis session (vor 3 Tagen) <Ilya Kirillov>
* f30c6bf86a - FIR IDE: rework KtCall to work with error cals (vor 3 Tagen) <Ilya Kirillov>
* e6327ef490 - (tag: build-1.5.0-dev-420) Build: Enable test distribution for :js:js.tests:test task (vor 3 Tagen) <Vyacheslav Gerasimov>
* 06fd7f8526 - Build: Add helper to configure gradle test distribution (vor 3 Tagen) <Vyacheslav Gerasimov>
* 7bbb738a71 - Build: Cleanup :js:js.tests buildscript (vor 3 Tagen) <Vyacheslav Gerasimov>
* d43af46bf4 - Build: Add V8 engine & repl.js to js tests inputs (vor 3 Tagen) <Vyacheslav Gerasimov>
* fadedc84db - (tag: build-1.5.0-dev-417) [JVM_IR] Refactor and add bytecode text tests for compose-like code. (vor 3 Tagen) <Mads Ager>
* 83588e9f22 - [JVM_IR] Add tests of Compose-like default argument handling. (vor 3 Tagen) <Mads Ager>
* a7efa5c98b - [IR] Fix remapping of arguments in LocalDeclarationsLowering. (vor 3 Tagen) <Mads Ager>
* 167e60b9fb - (tag: build-1.5.0-dev-415) [JS IR] Assert createdOn equals 0 for properties initialization fun for file (vor 3 Tagen) <Ilya Goncharov>
* 5be28520fc - (tag: build-1.5.0-dev-412) JVM_IR KT-43851 preserve static initialization order in const val read (vor 3 Tagen) <Dmitry Petrov>
* b0ef6ee1fc - JVM_IR Minor: refactor rawType (vor 3 Tagen) <Dmitry Petrov>
* f4a25066a8 - (tag: build-1.5.0-dev-403) Fix freshly added CLI tests for windows agents (vor 3 Tagen) <Denis.Zharkov>
* dd66da7c65 - (tag: build-1.5.0-dev-393) Optimize FirJavaSyntheticNamesProvider.possibleGetterNamesByPropertyName (vor 3 Tagen) <Mikhail Glukhikh>
* 6d545fc281 - Make FirTowerLevel an abstract class (vor 3 Tagen) <Mikhail Glukhikh>
* 34d7a7c184 - FIR tower levels: inline processElementsByName[AndStoreResult] (vor 3 Tagen) <Mikhail Glukhikh>
* af4941b222 - [FIR] Drop delayedNode from ControlFlowGraph.orderNodes (vor 3 Tagen) <Mikhail Glukhikh>
* 7b277600a9 - Optimize/simplify loadFunctions(Properties)ByName in FIR deserializer (vor 3 Tagen) <Mikhail Glukhikh>
* e51503ab42 - Code cleanup: KotlinDeserializedJvmSymbolsProvider (vor 3 Tagen) <Mikhail Glukhikh>
* 1383e923ea - Drop KotlinDeserializedJvmSymbolsProvider.findRegularClass (vor 3 Tagen) <Mikhail Glukhikh>
* 7e99f0ee23 - Optimize ConeInferenceContext.typeDepth a bit (vor 3 Tagen) <Mikhail Glukhikh>
* 67c7b5ca0a - Optimize/simplify FirAbstractImportingScope.getStaticsScope (vor 3 Tagen) <Mikhail Glukhikh>
* d90cc452fe - Simplify: FirSymbolProvider.getClassDeclaredPropertySymbols (vor 3 Tagen) <Mikhail Glukhikh>
* e344d9e438 - Drop unused functions from FirBuiltinSymbolProvider (vor 3 Tagen) <Mikhail Glukhikh>
* bb0410b143 - [FIR] Drop unused utility functions from StandardTypes.kt (vor 3 Tagen) <Mikhail Glukhikh>
* f88d51613f - (tag: build-1.5.0-dev-391) Remove old 193 and as40 bunches (vor 3 Tagen) <Yunir Salimzyanov>
* bf8de487a0 - (tag: build-1.5.0-dev-388, tag: build-1.5.0-dev-384) CliTrace: rewrite smart cast-vulnerable piece of code (vor 3 Tagen) <Mikhail Glukhikh>
* c8c83c04c0 - (tag: build-1.5.0-dev-381, tag: build-1.5.0-dev-380) [IR] Fix saving function calls during inlining const properties in PropertyAccessorInlineLowering (#3971 ) (vor 3 Tagen) <LepilkinaElena>
* dccfb33bcc - (tag: build-1.5.0-dev-373) JVM_IR: Unbox argument of type kotlin.Result (vor 3 Tagen) <Ilmir Usmanov>
* 775d610045 - Value classes: Forbid any identity equality check on value class (vor 3 Tagen) <Ilmir Usmanov>
* 7e088457a2 - Temporary clear sinceVersion for ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated (vor 3 Tagen) <Denis.Zharkov>
* dbc85a5f18 - (tag: build-1.5.0-dev-361) [TEST] Fix compilation of CodegenTestsOnAndroidGenerator.kt (vor 4 Tagen) <Dmitriy Novozhilov>
* b416c669b0 - [TEST] Update testdata due to dropped COMMON_COROUTINE_TEST directive (vor 4 Tagen) <Dmitriy Novozhilov>
* aacf934b49 - [TEST] Drop machinery about experimental coroutines from compiler tests (vor 4 Tagen) <Dmitriy Novozhilov>
* 8c4b7ad1e1 - [TEST] Drop generating tests for coroutines of Kotlin 1.2 (vor 4 Tagen) <Dmitriy Novozhilov>
* 0389589d83 - (tag: build-1.5.0-dev-360) Build: Setup inputs and outputs for :js:js-tests:test task properly (vor 4 Tagen) <Vyacheslav Gerasimov>
* d5c1e5681c - (tag: build-1.5.0-dev-355) [IR] Don't assume subclasses as part of member scope of sealed class (vor 4 Tagen) <Dmitriy Novozhilov>
* b6bd7c48f4 - [FE] Rename FreedomForSealedClasses feature with more meaningful name (vor 4 Tagen) <Dmitriy Novozhilov>
* 77aad06008 - [FE] Add bunch files to fix compilation on 201 platform (vor 4 Tagen) <Dmitriy Novozhilov>
* 3246e6b9ac - [IC] Add ability to pass additional compiler args to IC tests (vor 4 Tagen) <Dmitriy Novozhilov>
* 57a081c399 - [FE] Prohibit inheritance of sealed classes in different module (vor 4 Tagen) <Dmitriy Novozhilov>
* f8d6f79c17 - [FE] Temporary disable exhaustiveness checker for java sealed classes (vor 4 Tagen) <Dmitriy Novozhilov>
* 1c9f9130e6 - [FE] Prohibit implementing java sealed classes (vor 4 Tagen) <Dmitriy Novozhilov>
* 6809adee9c - [FE] Extract computation of sealed class inheritors into separate component (vor 4 Tagen) <Dmitriy Novozhilov>
* c0a1aecf9b - [FE] Add test for compiling against library with kotlin sealed classes and interfaces (vor 4 Tagen) <Dmitriy Novozhilov>
* 7897bb6adb - [FE] Support sealed classes and interfaces from java (vor 4 Tagen) <Dmitriy Novozhilov>
* bdfb71b149 - [FE] Add sealed classes related properties to java model (vor 4 Tagen) <Dmitriy Novozhilov>
* 8e9e34350f - [FE] Properly support sealed interfaces in exhaustiveness checker (vor 4 Tagen) <Dmitriy Novozhilov>
* 9609954560 - [FE] Allow using sealed modifier on interface and compute `sealed` modality for them (vor 4 Tagen) <Dmitriy Novozhilov>
* d605c7e491 - [FE] Prohibit inheritors of sealed classes which are declared in different package (vor 4 Tagen) <Dmitriy Novozhilov>
* e76acc8ee0 - [FE] Collect inheritors of sealed classes from new places in `computeSealedSubclasses` (vor 4 Tagen) <Dmitriy Novozhilov>
* 70c61be1ef - [FE] Allow declare sealed class inheritors as inner or nested classes (vor 4 Tagen) <Dmitriy Novozhilov>
* f5f1984a60 - [FE] Allow declare sealed class inheritors in different files in one module (vor 4 Tagen) <Dmitriy Novozhilov>
* 1a377069dd - (tag: build-1.5.0-dev-351) Allow AnalysisHandlerExtension to provide additional classpath on retry (vor 4 Tagen) <Jiaxiang Chen>
* a6cb156ce9 - Allow multiple retry for AnalysisHandlerExtension (vor 4 Tagen) <Jiaxiang Chen>
* 313dfaf48c - (tag: build-1.5.0-dev-341) JVM_IR KT-43812 erase generic arguments of SAM wrapper supertype (vor 4 Tagen) <Dmitry Petrov>
* 5daa406cdf - (tag: build-1.5.0-dev-340) Use FirNamedFunctionSymbol in FirScope.processFunctionsByName (vor 4 Tagen) <Mikhail Glukhikh>
* 2dfba10d84 - FIR: extend suspend conversion to intersection type (vor 4 Tagen) <Jinseong Jeon>
* 42ea4463ee - Fix type argument inconsistency in FirResolvedQualifier (vor 4 Tagen) <Mikhail Glukhikh>
* d6e144c80e - [FIR] Extend callableNames known for JvmMappedScope (vor 4 Tagen) <Mikhail Glukhikh>
* 94014ba3eb - Fir2IrLazyClass: don't generate non-f/o properties from superclass (vor 4 Tagen) <Mikhail Glukhikh>
* 9b0ada2b0f - [FIR2IR] Generate f/o overridden symbol with FakeOverrideGenerator (vor 4 Tagen) <Mikhail Glukhikh>
* 91834ccf46 - Use FirNamedFunctionSymbol in FirSimpleFunction & its inheritors (vor 4 Tagen) <Mikhail Glukhikh>
* 15021f30ff - Use FirNamedFunctionSymbol around processOverriddenFunctions (vor 4 Tagen) <Mikhail Glukhikh>
* 8fedfd2d2a - (tag: build-1.5.0-dev-338) Minor, add workaround for KT-43812 (vor 4 Tagen) <Alexander Udalov>
* 2b22cbcdd2 - Advance bootstrap to 1.5.0-dev-309 (vor 4 Tagen) <Dmitriy Novozhilov>
* 38b59ddabf - (tag: build-1.5.0-dev-335) Wizard: Fix tests (vor 4 Tagen) <anastasiia.spaseeva>
* 71459db9dd - Wizard: Do not add bintray repoitory for eap versions (vor 4 Tagen) <anastasiia.spaseeva>
* 2d8a8d252b - (tag: build-1.5.0-dev-327) Add 201 bunch files for JavaClass implementations (vor 4 Tagen) <Denis.Zharkov>
* 5a006a3690 - Minor. Specify targetBackend for new IR tests (vor 4 Tagen) <Denis.Zharkov>
* 92b402759b - Report incorrect JVM target only when @JvmRecord is actually used (vor 4 Tagen) <Denis.Zharkov>
* 920ed558ee - Add some tests on corner cases for @JvmRecord (vor 4 Tagen) <Denis.Zharkov>
* 3aa55620d0 - Prohibit explicit j.l.Record supertype even for @JvmRecord (vor 4 Tagen) <Denis.Zharkov>
* 2b29e70b64 - Temporary avoid using constant from the new ASM (vor 4 Tagen) <Denis.Zharkov>
* f399f013dd - Temporary add another env variable JDK_15_0 that is set on TC agents (vor 4 Tagen) <Denis.Zharkov>
* 46c3979acd - Separate JVM target option from javac's --enable-preview analogue (vor 4 Tagen) <Denis.Zharkov>
* 3abd8b1ab2 - Adapt CliTests for api requirement of @JvmRecord (vor 4 Tagen) <Denis.Zharkov>
* dc1a1c5821 - Support cross-module usages of @JvmRecord classes (vor 4 Tagen) <Denis.Zharkov>
* ac0604377d - Minor. Extract runJvmInstance for running BB tests with custom JVM (vor 4 Tagen) <Denis.Zharkov>
* 6e4f84dddf - Add @SinceKotlin("1.5") on JvmRecord annotation (vor 4 Tagen) <Denis.Zharkov>
* ddbd62054f - Prohibit extending java.lang.Record from non-@JvmRecord classes (vor 4 Tagen) <Denis.Zharkov>
* 695d0dbfbb - Check JvmRecordSupport language feature before generating synthetic properties (vor 4 Tagen) <Denis.Zharkov>
* a4bf36aee7 - Support @JvmRecord for JVM_IR (vor 4 Tagen) <Denis.Zharkov>
* f64980a597 - Add check for bytecode target when @JvmRecord is used (vor 4 Tagen) <Denis.Zharkov>
* b860a0c664 - Separate JvmTarget::bytecodeVersion version into major/minor parts (vor 4 Tagen) <Denis.Zharkov>
* c8851c4f75 - Prohibit @JvmRecord for non-data classes (vor 4 Tagen) <Denis.Zharkov>
* cc0b584445 - Adapt test infrastructure to the latest changes (vor 4 Tagen) <Denis.Zharkov>
* 1d873a1a73 - Move earlier generated tests (vor 4 Tagen) <Denis.Zharkov>
* 033f43794d - Prohibit irrelevant fields in @JvmRecord classes (vor 4 Tagen) <Denis.Zharkov>
* 1b575d7903 - Add initial support for @JvmRecord in backend (vor 4 Tagen) <Denis.Zharkov>
* 26d525fa3c - Prepare ClassBuilder for record components (vor 4 Tagen) <Denis.Zharkov>
* f6a3580c93 - Add @JvmRecord diagnostics for open and enums (vor 4 Tagen) <Denis.Zharkov>
* bef50c0342 - Correct descriptor shape for @JvmRecord annotated classes (vor 4 Tagen) <Denis.Zharkov>
* ca2e199b53 - Minor. Move @JvmRecord tests to relevant directory (vor 4 Tagen) <Denis.Zharkov>
* d4de2c4dce - Add check that we have JDK 15 in classpath when using @JvmRecord (vor 4 Tagen) <Denis.Zharkov>
* 85962d8312 - Add check that @JvmRecord classes cannot inherit other classes (vor 4 Tagen) <Denis.Zharkov>
* 4f5db241ea - Add @JvmRecord annotation and relevant diagnostics (vor 4 Tagen) <Denis.Zharkov>
* 059e2aab7a - Make BlackBox tests for Java 9 generated (vor 4 Tagen) <Denis.Zharkov>
* 5d05419016 - Add simple JDK15 BlackBox test (vor 4 Tagen) <Denis.Zharkov>
* 513f7177ca - Support loading Java records (vor 4 Tagen) <Denis.Zharkov>
* f25b7672a7 - Introduce FULL_JDK_15 TestJdkKind (vor 4 Tagen) <Denis.Zharkov>
* 430da22b4b - Setup 15_PREVIEW LanguageLevel for Java sources in CLI (vor 4 Tagen) <Denis.Zharkov>
* ff52a3f867 - (tag: build-1.5.0-dev-322) [Gradle, JS] Null library and libraryTarget when they are null (vor 4 Tagen) <Ilya Goncharov>
* d4233f3f0e - (tag: build-1.5.0-dev-321) [Wasm] Use Wasm GC arrays instead of JS arrays (vor 4 Tagen) <Svyatoslav Kuzmich>
* d15af70a3e - [Wasm] Refactoring: replace "struct types" with "GC types" (vor 4 Tagen) <Svyatoslav Kuzmich>
* 4bb163fd1f - [Wasm IR] Add missing GC and function reference instructions (vor 4 Tagen) <Svyatoslav Kuzmich>
* 6063353b64 - [Wasm] Generate stdlib WasmOp based on WasmOp from Wasm IR (vor 4 Tagen) <Svyatoslav Kuzmich>
* 1cfb81455c - (tag: build-1.5.0-dev-317) Generate correct names for companion @JvmStatic accessors in annotation class (vor 4 Tagen) <Mikhael Bogdanov>
* 3e0efeef31 - (tag: build-1.5.0-dev-309) JVM IR: add test for complex generic diamond hierarchy (vor 4 Tagen) <Alexander Udalov>
* 3370fa03d7 - Revert "JVM IR: remove obsolete isDefaultImplsBridge in findInterfaceImplementation" (vor 4 Tagen) <Alexander Udalov>
* 69c88a8a0a - (tag: build-1.5.0-dev-299) PSI2IR KT-41284 use getters for open data class property values (vor 4 Tagen) <Dmitry Petrov>
* d8d30263d3 - (tag: build-1.5.0-dev-298) IC Mangling: search parents for method if descriptor is fake override (vor 5 Tagen) <Ilmir Usmanov>
* e089e3606f - (tag: build-1.5.0-dev-297) Disable `testSingleAndroidTarget` while OOM investigation in progress KT-43755 (vor 5 Tagen) <Alexander Dudinsky>
* df9ecb0f4a - (tag: build-1.5.0-dev-289) Dependency of js tests generation on compiler test data generation (KTI-404) (vor 5 Tagen) <Nikolay Krasko>
* 0ca7c50452 - (tag: build-1.5.0-dev-288) FIR IDE: refactor, separate resolveSimpleNameReference into functions (vor 5 Tagen) <Ilya Kirillov>
* 717e087fd9 - (tag: build-1.5.0-dev-275) [JVM] Do not collaps unrelated locals in state machine transform. (vor 5 Tagen) <Mads Ager>
* 1bb864bbb0 - [JVM] Add tests that expose problem with locals collapsing. (vor 5 Tagen) <Mads Ager>
* 8e38f9d176 - (tag: build-1.5.0-dev-268) Stop mangle common project descriptor in GenerateTestSupport tests (vor 5 Tagen) <Nikolay Krasko>
* b0347c3822 - Stable order of generation and errors in ConvertSealedClassToEnumIntention (vor 5 Tagen) <Nikolay Krasko>
* 2ad4824eb0 - (tag: build-1.5.0-dev-241) Fix exception on resolving collection literal inside lambda (vor 5 Tagen) <Mikhail Zarechenskiy>
* c5015c9294 - (tag: build-1.5.0-dev-235) Don't recognize IrVariable as declaration scope in inlining (vor 6 Tagen) <Mikhael Bogdanov>
* 7f51f57998 - (tag: build-1.5.0-dev-234) Generate correct $default method for actual suspend function (vor 6 Tagen) <Ilmir Usmanov>
* 0dc5f3ac00 - (tag: build-1.5.0-dev-233) IC: call JvmDefault method of inline class using boxed receiver (vor 6 Tagen) <Ilmir Usmanov>
* d6330337a9 - (tag: build-1.5.0-dev-218) FIR IDE: introduce param for enabling disabled tests (vor 6 Tagen) <Ilya Kirillov>
* a671054fa3 - FIR IDE: change until-build to 203.* in plugin.xml (vor 6 Tagen) <Ilya Kirillov>
* b6d80a1149 - (tag: build-1.5.0-dev-214) Build: Fix kotlin-compiler-internal-test-framework empty sources jar (vor 6 Tagen) <Vyacheslav Gerasimov>
* 1d51dffd76 - (tag: build-1.5.0-dev-211) Reminder about -Pidea.fir.plugin=true for running fir-idea tests (vor 6 Tagen) <Nikolay Krasko>
* e5c62c3838 - (tag: build-1.5.0-dev-205) [JS] Disable special checks in labeled-block-to-do-while (vor 6 Tagen) <Zalim Bashorov>
* 7ca54ec405 - [JS IR] unmute test arraySort.kt (vor 6 Tagen) <Zalim Bashorov>
* 4c69f78de8 - [JS] Replace J2V8 based ScriptEngine with a process-based version (vor 6 Tagen) <Zalim Bashorov>
* 39cc149da0 - [JS] Revert disabling running ES6 tests on all platforms except linux (vor 6 Tagen) <Zalim Bashorov>
* 2cb4a4906f - [JS] Remove j2v8 from dependencies (vor 6 Tagen) <Zalim Bashorov>
* f4431a21fc - [JS] Make all JS test tasks depending on setupV8 (vor 6 Tagen) <Zalim Bashorov>
* 9cc3725db1 - [JS] Move JS engines download and setup code higher to use it from other tasks (vor 6 Tagen) <Zalim Bashorov>
* bc4c2349c0 - [JS] Extract engine setup related code from wasmTest (vor 6 Tagen) <Zalim Bashorov>
* 70eb3d2486 - [JS] BasicBoxTest.kt: cleanup (vor 6 Tagen) <Zalim Bashorov>
* f573b81456 - [JS] Minor: fix typo in AntTaskJsTest (vor 6 Tagen) <Zalim Bashorov>
* b8903f8cf8 - (tag: build-1.5.0-dev-191) Enable kotlin-annotation-processing-cli tests on TC (vor 6 Tagen) <Mikhael Bogdanov>
* 078aa18479 - (tag: build-1.5.0-dev-190) Fix KAPT cli tests on windows (vor 6 Tagen) <Ivan Gavrilovic>
* 82ad230e0d - (tag: build-1.5.0-dev-182) [Gradle, JS] Add nodeArgs to NodeJsExec (vor 6 Tagen) <Ilya Goncharov>
* cdfe1771d9 - (tag: build-1.5.0-dev-181) FIR DFA: reimplement type OR operation to its original semantics (vor 6 Tagen) <Jinseong Jeon>
* 16b9312695 - FIR DFA: refactor type statements manipulation (vor 6 Tagen) <Jinseong Jeon>
* 7ea58adc50 - FIR: reproduce KT-43569 (vor 6 Tagen) <Jinseong Jeon>
* 0d8cdb7bdb - (tag: build-1.5.0-dev-171) Fix double registered "com.intellij.psi.classFileDecompiler" for 203 platform (vor 6 Tagen) <Nikita Bobko>
2020-12-14 15:31:10 +01:00
LepilkinaElena
55cb50e15b
Added test for inlining accessors of const properties ( #4589 )
...
(cherry picked from commit fa4cd091ae9160b97d79bd318cc92f76ada82fec)
2020-12-14 15:31:10 +01:00
Mads Ager
55bbc35a31
Make isHidden and isAssignable explicit on IrValueParameters.
...
This make native compatible with change to remove default arguments
for these in the kotlin repo where they were confused.
(cherry picked from commit 706d0d2f618b53fb0d6cce433c65c6523aaf7591)
2020-12-14 15:31:10 +01:00
Alexander Shabalin
a41e1cb66b
Refactor Mutex.hpp ( #4594 )
...
* Remove `LockGuard` in favour of `std::lock_guard`
* Rename `SimpleMutex` to `SpinLock`
2020-12-14 15:31:10 +01:00
LepilkinaElena
a994b71d3f
Added memory to gradle daemon in benchmarks ( #4597 )
2020-12-14 15:31:10 +01:00
Sergey Bogolepov
ecd3ea261c
Move crt* files location to konan.properties
2020-12-14 15:31:10 +01:00