Commit Graph

93639 Commits

Author SHA1 Message Date
Mikhail Glukhikh 42b3adf33a Extract separate ConeIdRenderer and get rid of FirRenderer.RenderMode 2022-07-14 09:38:42 +00:00
Mikhail Glukhikh e484a4a946 Make ConeContractRenderer a renderer component 2022-07-14 09:38:41 +00:00
Mikhail Glukhikh 31a46866b6 Extract separate FirPropertyAccessorRenderer 2022-07-14 09:38:41 +00:00
Mikhail Glukhikh 9f1f777e0d Extract separate FirValueParameterRenderer 2022-07-14 09:38:40 +00:00
Mikhail Glukhikh 76d5d3a2ec Extract separate FirModifierRenderer 2022-07-14 09:38:39 +00:00
Mikhail Glukhikh 3fe35e6997 Extract separate FirCallArgumentsRenderer 2022-07-14 09:38:39 +00:00
Mikhail Glukhikh abfa33b200 Get rid of mode argument in FirElement.render(withType) 2022-07-14 09:38:38 +00:00
Mikhail Glukhikh 7c27e6f843 FirRenderer: partially get rid of RenderMode 2022-07-14 09:38:37 +00:00
Mikhail Glukhikh 9890066b72 Extract separate FirPackageDirectiveRenderer 2022-07-14 09:38:36 +00:00
Mikhail Glukhikh bc49107d25 Extract separate FirDeclarationRenderer 2022-07-14 09:38:36 +00:00
Mikhail Glukhikh 5bb4a0ccda FirRenderer: drop effectively unused renderDeclarationOrigin parameter 2022-07-14 09:38:35 +00:00
Mikhail Glukhikh 089044e5b0 FirRenderer: get rid of direct Visitor usages 2022-07-14 09:38:34 +00:00
Mikhail Glukhikh 998ed8849f FirRenderer: drop effectively unused renderLambdaBodies parameter 2022-07-14 09:38:34 +00:00
Mikhail Glukhikh a82baf87cb FIR renderer: extract separate ConeTypeRenderer 2022-07-14 09:38:33 +00:00
Mikhail Glukhikh 591143be7c FIR renderer: introduce separate body & annotation renderers 2022-07-14 09:38:32 +00:00
Mikhail Glukhikh f64a7d3ff9 FirRenderer: extract separate printer & visitor 2022-07-14 09:38:32 +00:00
Mikhail Glukhikh 38d6f3d548 Move FirRenderer to separate package 2022-07-14 09:38:31 +00:00
Mikhail Glukhikh 475e40b3e4 K1: report warning for inline virtual member in enum #KT-53148 Fixed
Related to KT-34372
2022-07-14 07:59:33 +00:00
konstantin.tskhovrebov f509a756fd [KT-53127] Fix paths to local unarchived pod and for git pod. 2022-07-14 07:37:09 +00:00
konstantin.tskhovrebov 6d594d1a08 [KT-53127] Add pod dependency version for synthetic generated project. 2022-07-14 07:37:08 +00:00
Alexander Likhachev 07c9cfd486 [Gradle, JS] Make simple K/JS IC test to cover IR backend as well 2022-07-13 19:40:49 +00:00
Alexander Likhachev d2450268f6 [Gradle, JS] Migrate simple K/JS IC test to the new plugin (#KT-52946) 2022-07-13 19:40:49 +00:00
Alexander Likhachev 1e76404163 [Gradle, JS] Fix multimodule IC for K/JS plugin
#KT-52946 Fixed
2022-07-13 19:40:48 +00:00
Alexander Likhachev 18560db373 [IC] Remove unused variable declaration
Previously it was introduced to make `when` exhaustive, but now all the `when` operators on enums are exhaustive
2022-07-13 19:40:47 +00:00
Yahor Berdnikau 0c4598a00e Enable caching for generated script accessors
According to https://github.com/gradle/gradle/issues/20416 issue it is
safe to do.
2022-07-13 17:30:16 +00:00
Sergey Bogolepov 2bb69994ae [K/N] Add regression test for objc2kotlin and kotlin2objc names 2022-07-13 17:15:20 +00:00
Sergey Bogolepov 8f5907c62f [K/N] Add bridge check to the framework stacktrace tests 2022-07-13 17:15:19 +00:00
Sergey Bogolepov 9bdec1a051 [K/N] Fix signext_zeroext_objc_export.kt 2022-07-13 17:15:17 +00:00
Sergey Bogolepov 231a014818 [K/N] Drop obsolete -Xmeaningful-bridge-names compiler flag 2022-07-13 17:15:17 +00:00
Sergey Bogolepov 88c735f94d [K/N] Fix ambiguity of symbols for companion object accessors 2022-07-13 17:15:16 +00:00
Sergey Bogolepov 6a8d7ed043 [K/N] A bit more KDocs in ObjCExport 2022-07-13 17:15:14 +00:00
Sergey Bogolepov 730f9b4b91 [K/N] More meaningful names in kotlin2objc bridges 2022-07-13 17:15:13 +00:00
Sergey Bogolepov 42c02c07b1 [K/N] More meaningful names in objc2kotlin bridges
Now also for throwableAsError, unit accessor and abstract methods.
2022-07-13 17:15:11 +00:00
Sergey Bogolepov 3409519f0c [K/N] implement toString for ObjC spec classes
Make compiler debugging easier by giving objects meaningful names
2022-07-13 17:15:10 +00:00
Mikhail Glukhikh 70e15b281c K2: fix exception in deserializer for external setter #KT-53031 Fixed 2022-07-13 17:06:14 +00:00
Dmitriy Novozhilov 1336ec6a0b Advance bootstrap to 1.8.0-dev-446 2022-07-13 16:46:29 +00:00
Artem Kobzar 117df325c9 [JS/IR] fix: add ability to render type constraints into TypeScript definitions. 2022-07-13 15:20:27 +00:00
Yahor Berdnikau f1f4ae7359 Set Gradle 7.2 as max target version for integration tests
^KT-52663 Fixed
2022-07-13 14:33:10 +00:00
Mikhail Glukhikh 7bbd8d3b95 FIR2IR entry points: don't create JvmDescriptorMangler if not needed 2022-07-13 13:11:49 +00:00
Mikhail Glukhikh 1a45284e86 Drop some unused from symbol table / IR converter 2022-07-13 13:11:49 +00:00
Mikhail Glukhikh 18a5b3b518 Drop unnecessary usages of OptIn(ObsoleteDescriptorBasedAPI) 2022-07-13 13:11:48 +00:00
Sergey Bogolepov 8ef73fe6bf [K/N] Add GetLastError to CallsChecker exclusions 2022-07-13 12:28:25 +00:00
Ilya Kirillov bd6be11adf [LL API] allow on-air analysis of non-physical files for intentions preview 2022-07-13 12:44:04 +02:00
Pavel Kunyavskiy 5cdda48487 [K/N] Extract const val initializers to place of usage
This would make behaviour more consistent with jvm. There is still
a difference in behaviour about point where side effects happen.

^KT-52970
2022-07-13 08:49:40 +00:00
Yahor Berdnikau 6a8da8f9eb Fix Kotlin common or js compilation could spawn second Kotlin daemon
Kotlin's daemons spawned by js/common compilation where incompatible
on JDK 1.8, because of 'tools.jar' presence mismatch. Now KGP always
passes tools.jar location to Kotlin daemon.

^KT-52622 Fixed
2022-07-13 08:12:59 +00:00
Igor Chevdar 99844be96c [K/N][caches] Save all local deserialized symbols for future use 2022-07-13 08:01:53 +00:00
Igor Chevdar e36bd5fe90 [box-tests] Added a multi-module box test 2022-07-13 08:01:51 +00:00
Ilya Chernikov 3471a1b899 minor: fix caching in Fir2Ir declarations storage 2022-07-13 08:45:20 +02:00
Ilya Kirillov 95744062c1 [Symbol LC] add parents for the local classes 2022-07-13 01:47:36 +02:00
Yahor Berdnikau c55a6c1453 Ensure all required plugins are installed for benchmarks 2022-07-12 22:46:48 +02:00