Alexander Udalov
9aed92d2dd
Partially revert "Persistent IR implementation"
...
This partially reverts commit f437da8ee5 .
Changes related to carriers and others are still there. They will be
moved out to a separate module in a subsequent commit.
2020-07-28 19:04:43 +02:00
Dmitry Petrov
980b91d082
JVM: generate 'Deprecated' on method as runtime-visible annotation
...
We generate @java.lang.Deprecated annotation on methods of $DefaultImpls
classes in compatibility mode. This annotation has RUNTIME retention and
should be visible.
Also, get rid of representing annotations as Class'es (yes we know that
these annotations are in compiler CLASSPATH, but we should not rely on
such classes and associated information).
2020-07-28 18:19:20 +03:00
Dmitry Petrov
4fdccb3b35
JVM_IR: don't generate repeated ElementType values in @Target
2020-07-28 18:19:20 +03:00
Ilya Goncharov
c065210b56
[Gradle, JS] Reuse task requirements
...
^KT-39825 fixed
2020-07-28 18:17:05 +03:00
Ilya Goncharov
9a3ae4f4fa
[Gradle, JS] Common webpack configuration
...
^KT-39825 fixed
2020-07-28 18:16:51 +03:00
vldf
a2b26c00a1
Uncommented ControlFlowAnalysisBenchmark
2020-07-28 17:10:02 +03:00
vldf
fca0b7fedd
[FIR] Add CFA benchmark
2020-07-28 14:30:40 +03:00
vldf
d7b3a86f5e
[FIR] Add "can be val" extended checker
2020-07-28 14:17:38 +03:00
Jinseong Jeon
da6e96f4f1
FIR2IR: don't declare dispatch receiver for local functions
2020-07-28 13:43:10 +03:00
Jinseong Jeon
5a3367e09c
FIR: initial support of suspend conversion for function reference
2020-07-28 13:37:05 +03:00
Alexander Udalov
b9243aad24
Minor, fix test data in bytecodeListing/specialBridges
2020-07-28 12:12:39 +02:00
Alexander Udalov
df324d5a08
IR: pull up common accept/transform implementations to interfaces
...
To avoid duplicating them among the main, persisting, lazy, and
fir2ir-lazy implementations.
Also reformat a bit, and avoid storing descriptor in a field in some
places.
2020-07-28 12:05:24 +02:00
Alexander Udalov
12d2a02d22
JS IR: drop JsIrDeclarationBuilder
...
Move buildValueParameter back to JsIrBuilder, and use common IR builders
directly where buildFunction was called.
2020-07-28 12:05:24 +02:00
Alexander Udalov
0d605a6b7f
IR: create IrBlockBody via IrFactory
2020-07-28 12:05:24 +02:00
Alexander Udalov
9ad4a754ce
IR: create IrExpressionBody via IrFactory
2020-07-28 12:05:24 +02:00
Alexander Udalov
d1dc938a5d
IR: use IrFactory in IR builders
2020-07-28 12:05:24 +02:00
Alexander Udalov
898dd20a9e
IR: use IrFactory in misc utils
2020-07-28 12:05:23 +02:00
Alexander Udalov
f359f36ed9
IR: add IrFactory to IrDeclaration, use in deep copy
2020-07-28 12:05:23 +02:00
Alexander Udalov
305288aa82
IR: use IrFactory in psi2ir
2020-07-28 12:05:23 +02:00
Alexander Udalov
8c41ba8ee4
IR: use IrFactory in fir2ir
2020-07-28 12:05:23 +02:00
Alexander Udalov
9356f87f28
IR: use IrFactory in linker
2020-07-28 12:05:23 +02:00
Alexander Udalov
db4cbe7103
IR: use IrFactory in SymbolTable
2020-07-28 12:05:23 +02:00
Alexander Udalov
c6a127e87e
IR: introduce IrFactory
...
This is needed to refactor IrPersistingElementBase-based implementations
into another module, to use it in JS IR.
2020-07-28 12:05:23 +02:00
Kirill Shmakov
96968cd9c9
Fix build after rebasing
2020-07-28 12:55:38 +03:00
Kirill Shmakov
96160cbb55
Adapt AS wizard to changes in main wizard
2020-07-28 12:26:19 +03:00
Kirill Shmakov
5c8833f608
Wizard: improve mobile app template
2020-07-28 12:26:19 +03:00
Ilya Kirillov
63fa6674a3
Wizard: temporary add ios shortcut target
...
Temporary as it will not be needed when HMPP wizard will be ready
2020-07-28 12:26:19 +03:00
Ilya Kirillov
f330cd3697
Wizard: relocate AndroidManifest.xml for MPP module
2020-07-28 12:26:19 +03:00
Ilya Kirillov
b3d48cda8c
Wizard: add common tests for iOS/Android template
2020-07-28 12:26:19 +03:00
Ilya Kirillov
5ffcaf6508
Wizard: add shared code for iOS/Android template
...
fix android
2020-07-28 12:26:19 +03:00
Ilya Kirillov
66c756ad0f
Wizard: add ability for wizard to generate expected/actual declarations in MPP module
2020-07-28 12:26:18 +03:00
Ilya Kirillov
7d1036ee7e
Wizard: use property for storing module dependency
2020-07-28 12:26:18 +03:00
Ilya Kirillov
dbc43b66bf
Wizard: introduce ModuleConfiguratorProperty
2020-07-28 12:26:18 +03:00
Ilya Kirillov
74d6919c7c
Wizard: wrap property into PluginProperty for plugin properties
2020-07-28 12:26:18 +03:00
Ilya Kirillov
3c3ba361e8
Wizard: specify path for plugin entities in one place
2020-07-28 12:26:18 +03:00
Ilya Kirillov
c05c72387e
Wizard: fix node js templates
2020-07-28 12:26:18 +03:00
aleksandrina-streltsova
63e2d771b3
Get rid of reflection in new project wizard core: manually specify properties in plugins
2020-07-28 12:26:17 +03:00
Ilya Kirillov
cc35529b9a
Wizard: get rid of reflection: specify plugin path by hand
2020-07-28 12:23:57 +03:00
Ilya Kirillov
3ed11c0491
Wizard: get rid of reflection: force plugins to specify settings & tasks directly
2020-07-28 12:23:57 +03:00
vldf
eadd3f00f2
[FIR] Add CanBeReplacedWithOperatorAssignmentChecker
2020-07-28 10:13:28 +03:00
Kevin Bierhoff
fa8c6e7fb6
Uast: KT-40578: resolve Kotlin property writes to setters ( #3597 )
...
* KT-40578: resolve Kotlin property writes to setters
* limit to non-constructor properties
* Uast: `KotlinIDERenderLogTest.testConstructors` fix
Co-authored-by: Nicolay Mitropolsky <nicolay.mitropolsky@jetbrains.com >
2020-07-28 10:03:22 +03:00
Sergey Bogolepov
5851a7dea0
[kotlinx-metadata-klib] Proper support for nullable enum entry fields
2020-07-28 11:59:17 +07:00
Sergey Rostov
45f0328f21
scripting: preload scripting support plugins
2020-07-27 19:44:03 +00:00
Sergey Rostov
b5e04378ed
scripting, ucache: don't init caches at start up
...
init it in async instead. all usages will be updated thanks to
highlighting/reindexing that is called after cache is constructed.
#KT-40242 Fixed
2020-07-27 19:44:03 +00:00
Dmitry Petrov
43fcb2330e
JVM_IR: fix source file name for mutlifile class facades
2020-07-27 19:13:37 +03:00
Dmitry Petrov
89a0b3e944
Check class source in bytecode listing tests
2020-07-27 19:13:37 +03:00
Dmitriy Dolovov
b47946cbba
Report interop functions with non-stable parameter names
...
^KT-34602
2020-07-27 23:11:36 +07:00
Dmitriy Dolovov
3d9093583f
Metadata: 'non-stable parameter names' flag for callables
...
^KT-34602
2020-07-27 23:11:30 +07:00
Ilya Goncharov
8cace2bab4
[Gradle, JS] Add tests on kotlin/js module with js files
2020-07-27 19:00:12 +03:00
Ilya Goncharov
0b88f457e8
[Gradle, JS] Use .meta.js as source of "name" and "main" fields
...
^KT-40342 fixed
2020-07-27 19:00:12 +03:00