Abduqodiri Qurbonzoda
b60633d79a
Add associateWith to Array<T> #KT-30372
2020-03-12 18:06:54 +03:00
Abduqodiri Qurbonzoda
e632d58936
Nullable Array.contentEquals/contentHashCode/contentToString #KT-34161
2020-03-12 18:01:23 +03:00
Zalim Bashorov
179ec41a6b
[JS BEs] Generate tests for whole "codegen/boxInline"
2020-03-12 17:22:33 +03:00
Zalim Bashorov
fe3a81ebc9
[JS BEs] Minor: fix warnings in abstract classes for generated tests
2020-03-12 17:21:06 +03:00
Abduqodiri Qurbonzoda
c664bfc62b
Update property delegate test data
2020-03-12 16:52:36 +03:00
Alexander Udalov
3762b5cba7
Minor, remove extraneous field CodegenTestCase.coroutinesPackage
...
After a795c38eb7 , this field is available in the base class
KotlinBaseTest.
2020-03-12 13:51:40 +01:00
Alexander Udalov
244db9bcf9
JVM IR: don't rename fake overrides for fields
...
In case derived class has a field with the same name as the base class,
RenameFieldsLowering previously tried to rename one of the fields by
adding the "...$1" suffix, which led to NoSuchFieldError.
2020-03-12 13:51:40 +01:00
kovalp
9ceca69154
Do not stop searchTextOccurrences when isSearchForTextOccurrences is false
...
#KT-36657 Fixed
2020-03-12 13:40:49 +01:00
Mikhail Glukhikh
6fd8ccc293
[FIR2IR] Support (simple) conversion of captured types
2020-03-12 15:17:51 +03:00
Sergey Bogolepov
e919e7b79a
[Gradle][Native][Cache] Don't skip metadata-based interop libraries
...
`resolveSingleFileKlib` by default doesn't support klibs with
non-default ir providers. In case of cache generation for native interop
libraries we need to override this behavior because they have
ir_provider=kotlin.native.cinterop.
2020-03-12 18:11:47 +07:00
Dmitry Petrov
c0b15b1768
KT-37448 'this' in delegating constructor call may refer to outer object
2020-03-12 13:40:14 +03:00
Ilya Goncharov
2bd5872782
201: [Gradle, JS] Non jvm configurator from xml including
2020-03-12 13:23:46 +03:00
Ilya Goncharov
dc2dd2e3e3
[Gradle, JS] Remove idle test runner
...
#KT-37037 fixed
2020-03-12 13:23:45 +03:00
Ilya Goncharov
8c8307d0d2
201: [Gradle, JS] Remove redundant non jvm configurator for 201
2020-03-12 13:23:28 +03:00
Ilya Goncharov
857f3335bb
[Gradle, JS] TestFramework is public to detect it in debug extension
...
#KT-37037 fixed
2020-03-12 13:23:27 +03:00
Ilya Goncharov
3728dd45ce
[Gradle, JS] Remove redundant hacks for debug
...
#KT-37037 fixed
2020-03-12 13:22:42 +03:00
Ilmir Usmanov
7efab887aa
JVM_IR: Do not generate accessor for private function
...
if the function is called in suspendCoroutine's lambda.
#KT-37242 Fixed
2020-03-12 11:15:46 +01:00
Dmitry Gridin
80caa063b3
UnusedUnaryOperatorInspection: shouldn't report on annotation entry
...
#KT-37294 Fixed
2020-03-12 08:46:33 +00:00
Georgy Bronnikov
fded6fb494
JVM_IR: fix suspendCoroutineUninterceptedOrReturn
2020-03-12 11:28:42 +03:00
Ilya Chernikov
3cbfdd19f5
Optimize constraints simplification
...
simplify only when affecting changes are detected
2020-03-12 08:02:46 +01:00
Ilya Chernikov
c2b866fe7a
Reduce number of constraints simplifications
...
assuming that MutableVariableWithConstraints is constructed either
with no initial constraints or already from simplified list
2020-03-12 08:02:46 +01:00
Ilya Chernikov
84a0e39956
Skip duplicates removal on constraints simplification
...
It is already coveren on addition. Speeds up inference a bit.
2020-03-12 08:02:46 +01:00
Ilya Chernikov
6f97745de2
Optimize MutableDiagnosticsWithSuppression
...
avoid modificationTracker and own diagnostics list initialization if
possible
2020-03-12 08:02:46 +01:00
Ilya Chernikov
a28c25b805
Add NI benchmarks configuration
2020-03-12 08:02:46 +01:00
Ilya Chernikov
e9cb7770e3
Fix benchmark compiler configuration
2020-03-12 08:02:46 +01:00
Ilya Chernikov
53d289206e
Optimize hot TypeUtils.contains function
...
optimize for small number of visited types
2020-03-12 08:02:45 +01:00
Ilya Chernikov
4538e212db
Optimize hot addSubTypeConstraintAndIncorporateIt function
...
reduce number of allocations, optimize for cases with small number
of possible new constraints
2020-03-12 08:02:45 +01:00
Ilya Chernikov
357ceeae19
Avoid unnecessary freshTypeConstructor() calls
2020-03-12 08:02:45 +01:00
Ilya Chernikov
54f10a709a
Cache isProperType calculations in the constraint system
...
avoid expensive calculations with type.contains
2020-03-12 08:02:45 +01:00
Ilya Chernikov
70c89a28e1
Stop subtyping constraint search if equality constraints for...
...
all not fixed type vars are found
#KT-35626 fixed
2020-03-12 08:02:45 +01:00
Ilya Chernikov
b6c9432334
[minor] Optimize diagnostic reporting a bit
...
Eliminating a couple of function calls on reporting, speeds up
diagnostic tests for a few %
2020-03-12 08:02:45 +01:00
Ilya Chernikov
2727507d18
Fix diagnostic inferred type calculation for null in some cases
...
#KT-36222 fixed
2020-03-12 08:02:45 +01:00
Nikolay Krasko
997debdd42
201: Mute GradleMultiplatformWizardTest.testMobile because of leaked JDK
2020-03-12 03:02:30 +03:00
Nikolay Krasko
34fda45113
201: Update test data about test run markers under gradle
2020-03-12 03:02:30 +03:00
Nikolay Krasko
ab141bab1d
201: Update to 201.6073.9
2020-03-12 03:02:29 +03:00
Nikolay Krasko
0e65d0e00b
201: Mute JS android tests in MultiplatformProjectImportingTest
2020-03-12 03:02:29 +03:00
Nikolay Krasko
a9044b8a69
201: Mute test because of NPE: element.parent must not be null (IDEA-234737)
2020-03-12 03:02:29 +03:00
Nikolay Krasko
72a0a5327c
201: Fix setup for AbstractKotlinExceptionFilterTest tests
2020-03-12 03:02:29 +03:00
Nikolay Krasko
9370260022
201: Mute SpringRenameTestGenerated tests
2020-03-12 03:02:29 +03:00
Nikolay Krasko
62a772332d
201: Remove declarations added for dropped newApi in hierarchy
2020-03-12 03:02:29 +03:00
Nikolay Krasko
1afd3d929a
201: Update to 201.5985.32
2020-03-12 03:02:28 +03:00
Mikhail Zarechenskiy
7c86911f44
Filter out PSI values & valueOf methods from Java structure
...
These methods were recently added in Java PSI for IJ 201 and now have
clash with the methods that we add on our side. Note that we can't
start using methods from PSI as is because of different nullability:
they have flexible types in their signatures while current methods
have not-null types
#KT-36095 Fixed
2020-03-12 00:15:03 +03:00
Mikhail Glukhikh
1321bf426b
[FIR] Define argument lists and their builders more accurately
2020-03-11 22:08:59 +03:00
Mikhail Glukhikh
3d17ce05b5
[FIR] Introduce FirResolvedArgumentList with argument-parameter mapping
...
#KT-36345 Fixed
2020-03-11 22:08:59 +03:00
Mikhail Glukhikh
6b0a3aa176
[FIR] Cleanup vararg handling during call completion
2020-03-11 22:08:59 +03:00
Mikhail Glukhikh
91d51b93e1
[FIR] Introduce FirArgumentList node
2020-03-11 22:08:58 +03:00
Dmitriy Novozhilov
476d3c4092
Revert "[FIR-TEST] Move FIR ide tests to separate module"
...
This reverts commit 36ec0a2e2e .
2020-03-11 20:22:55 +03:00
Anton Yalyshev
b44be51b5c
Disable FUS for Code Completion in 1.3.71
2020-03-11 19:52:01 +03:00
Dmitry Petrov
a9ab3ae192
KT-36047 Support when-with-subject in optimized 'when' generators
2020-03-11 18:09:17 +03:00
Ilmir Usmanov
fd70b10b17
JVM_IR: Generate suspend fun main wrapper as class instead of reference
...
This way, there is no getName, getOwner and getSignature generated.
#KT-37404: Open
2020-03-11 15:34:38 +01:00