Commit Graph

88225 Commits

Author SHA1 Message Date
Mikhail Glukhikh e1ca5fe344 FIR2IR: apply suspend conversions also to varargs 2021-12-09 13:26:38 +03:00
Mikhail Glukhikh 8c7f659a32 Black box: drop WITH_RUNTIME or replace with WITH_STDLIB 2021-12-09 13:26:38 +03:00
Mikhail Glukhikh 0f4647d95e Black box: update/set FIR status for some new tests 2021-12-09 13:26:37 +03:00
Mikhail Glukhikh 9b42fab9de FIR2IR: properly support combinations of SAM/suspend conversions 2021-12-09 13:26:36 +03:00
Mikhail Glukhikh e574d3be27 FIR2IR: move SAM conversion operations to AdapterGenerator 2021-12-09 13:26:34 +03:00
Mikhail Glukhikh 5b058cfcdc FIR2IR: support RawType internal annotation 2021-12-09 13:26:32 +03:00
Jinseong Jeon f8a6ab9536 FIR LC: populate DefaultImpls if an interface has default implementations 2021-12-09 11:04:25 +01:00
Tianyu Geng b52dc15aa7 Analysis API: remove dispatch receiver type from XXXSubstitutionOverridesUnwrappingTest 2021-12-09 11:01:52 +01:00
Tianyu Geng 9153db2ecc FE1.0 Analysis API: rewrite KtFe10CallResolver 2021-12-09 11:01:52 +01:00
Tianyu Geng f1bd3597f8 FE1.0 Analysis API: make KtSymbol only reference declaration-site subst-overrides
This is the FE1.0 counterpart of fa8bb47bdf
2021-12-09 11:01:52 +01:00
Pavel Kunyavskiy b3be835c6f [K/N] Fix bug for function references with extension receiver
Was introduced while refactoring in 4b49356a
2021-12-09 09:45:49 +00:00
Igor Chevdar 617b3bd59d [gradle][tests] Fixed flaky test for KT-49248 2021-12-09 13:55:29 +05:00
Viacheslav Kormushkin c2a4425784 [Gradle][Cocoapods] Fixed project sync issues when cocoapods are used along with manual framework creation
#KT-50105
2021-12-09 08:28:44 +00:00
Pavel Kunyavskiy 3442631d42 [K/N] Custom bitcode optimization pass to avoid multiple loads of TLS
^KT-50075
2021-12-09 08:06:53 +00:00
Ilya Matveev ff6889ea05 [K/N][build] Drop srcRoot from CompileToBitcode 2021-12-09 07:19:37 +00:00
Mikhael Bogdanov 239e79a241 JvmDefaultWithCompatibility. Update documentation 2021-12-09 07:40:07 +01:00
Igor Yakovlev 72e360be83 [WASM] More optimal way to keep regex decomposition table 2021-12-09 00:57:55 +01:00
Alexander Shabalin 3e9ee8cf6f [K/N] Do not clean benchmarksAnalyzer from performance project clean
Merge-request: KT-MR-5217
2021-12-08 19:57:44 +00:00
Victor Petukhov 2c7d7dca8a [FE 1.0] Fix a typo in PROGRESSIONS_CHANGING_RESOLVE error message 2021-12-08 21:51:30 +03:00
konstantin.tskhovrebov 5b4af6f422 KT-50131 Open AbstractKotlinNativeCompile.compilerPluginClasspath for overriding 2021-12-08 21:02:23 +03:00
Ilya Goncharov a66aeaf382 Add network settings for kotlin npm install
Because there can be multiple installations of NPM dependencies via Yarn, we need to work correctly consider concurrency of Yarn
Because Yarn cache could face with problems during concurrent installation, need to limit network concurrency with only 1 instance and use mutex on network

https://github.com/yarnpkg/yarn/issues/2146
2021-12-08 17:53:03 +00:00
Victor Petukhov 14b5b85ae4 [FE 1.0] Fix a typo in PROGRESSIONS_CHANGING_RESOLVE error message 2021-12-08 20:28:26 +03:00
Roman Artemev dc1155de24 [JS IR] Erase IrErrorType into IrErrorType 2021-12-08 20:18:16 +03:00
Roman Artemev 002d6723ac [KLIB] Fix partially-linked mode
- don't mark super classes as unlinked if its type argument is
 - check IrCall type as well
2021-12-08 20:18:15 +03:00
Roman Artemev 23d7f94dca [JS IR] Generate JS Klib ABI tests
- add first test
2021-12-08 20:18:15 +03:00
Roman Artemev c3c2bb5884 [TEST] Add Klib ABI test runner logic
- common and js-specific classes
2021-12-08 20:18:14 +03:00
Roman Artemev 4ef316a590 [TEST] Move info file names into common place 2021-12-08 20:18:13 +03:00
Roman Artemev 327b529e08 [TEST] Move TestModel parser into common test part
- fix dependent invalidation test runner
2021-12-08 20:18:10 +03:00
Roman Artemev 699f16ba55 [KLIB] Move klib-related tests into separate package/directory
- regenerate tests
2021-12-08 20:18:08 +03:00
Stanislav Erokhin 255bbbbfa8 Restore binary compatibility with android.nav.safearg plugin
In recent a39fbd3822 commit
contextReceiverParameters was introduced and new parameter to descriptor
methods was added. Luckily, it is low-level methods enough -- i.e.
they related to new descriptor creation, but still, some compatibility
is broken. This commit fixes usages in the android.nav.safearg that I
have found in the IDEA repo, maybe we will find other after some
compatibility testing.
2021-12-08 17:16:21 +00:00
Elena Lepilkina f4830716bc [K/N] Don't land parameters on stack in release mode 2021-12-08 15:19:31 +00:00
Jinseong Jeon b9a56f4888 FIR LC: add static modifier to non-inner nested interfaces 2021-12-08 15:28:33 +01:00
Svyatoslav Scherbina 575c0fabb6 Native: add test for KT-38850
(the bug was fixed long ago, in 1.4-M1).
2021-12-08 13:00:15 +00:00
Mikhael Bogdanov 8c17d5f5a7 JvmDefaultWithCompatibility. Switch retention to source 2021-12-08 12:25:02 +01:00
Mikhael Bogdanov 29afd674d2 JvmDefaultWithoutCompatibility. Add test with Kotlin Java mixed inheritance 2021-12-08 12:25:02 +01:00
Mikhael Bogdanov c599b58eb3 Remove obsolete options 2021-12-08 12:25:02 +01:00
Dmitry Petrov 93713a9ad4 JVM_IR KT-47939 use FunInterfaceConstructorReference as base class 2021-12-08 14:12:41 +03:00
Dmitry Petrov 0ccd7a7e0c KT-47939 fun interface constructor reference should throw NPE for null 2021-12-08 14:12:41 +03:00
Dmitry Petrov e5eee9bab9 KT-47939 KotlinFunInterfaceConstructorReference is experimental 2021-12-08 14:12:40 +03:00
Dmitry Petrov 72f7276f3c PSI2IR KT-47939 more tests 2021-12-08 14:12:40 +03:00
Dmitry Petrov 9eeb8f54fb JVM_IR KT-47939 fixes after review 2021-12-08 14:12:39 +03:00
Dmitry Petrov e179598457 JVM_IR KT-47939 equality for fun interface constructor references 2021-12-08 14:12:38 +03:00
Dmitry Petrov 50b0dae786 KT-47939 fixes after review 2021-12-08 14:12:37 +03:00
Dmitry Petrov 58f1504aaf KT-47939 basic fun interface constructor reference box test 2021-12-08 14:12:37 +03:00
Dmitry Petrov 11daed8b01 FIR2IR KT-47939 callable references to fun interface constructors 2021-12-08 14:12:36 +03:00
Dmitry Petrov f55f880726 Minor: regenerate tests, update testData 2021-12-08 14:12:35 +03:00
Dmitry Petrov 27a144f86f PSI2IR KT-47939 callable references to fun interface constructors 2021-12-08 14:12:34 +03:00
Dmitry Petrov 1fd0dec5e7 FE KT-47939 callable references to functional interface constructors
Allow callable references to Kotlin 'fun interface' constructors.
Prohibit callable references to Java SAM interface constructors.
2021-12-08 14:12:33 +03:00
Dmitry Petrov bfb6e73728 Minor: reformat Errors.java & ErrorsJvm.java 2021-12-08 14:12:32 +03:00
Ilya Goncharov 2a1396bafe [JS IR] Remove JsEagerInitialization after bootstrap update 2021-12-08 10:42:50 +00:00