Commit Graph

95502 Commits

Author SHA1 Message Date
Igor Yakovlev e7b3bfad24 [WASM] Remove redundant binaryen flag 2022-10-18 20:48:12 +02:00
Igor Yakovlev 5218acd5c9 [WASM] Optimise interop adapters 2022-10-18 20:48:12 +02:00
Ilya Chernikov 6627b62c21 Fix sources extraction when processing extension is on
The latter is used e.g. for scripts in source roots handling
as implemented in the commit
"Scripting: update scripts in source roots handling"
The former implementation did not covered all the cases.

#KT-54355 fixed
2022-10-18 16:29:06 +00:00
pyos 1fcf099104 FIR: serialize both expanded and abbreviated type to metadata 2022-10-18 14:59:11 +00:00
Sergej Jaskiewicz a939f9ccd0 [JS IR] Improve debug info precision for blocks
Namely:
- Generate debug info for closing braces, which allows the breakpoints
  set on closing braces to be hit
- Generate debug info for 'if' and 'try/catch' statements.

KT-46276
2022-10-18 14:31:14 +00:00
Ilya Goncharov a1c61bb9a0 [Gradle, JS] Fix tests, because kotlinNpmInstall can not be run 2022-10-18 14:01:30 +00:00
Ilya Goncharov 0547a89080 [Gradle, JS] Public package json does not have dependency on npm install task 2022-10-18 14:01:30 +00:00
Ilya Goncharov fc170aa990 [Gradle, JS] Fix test for dukat generation 2022-10-18 14:01:29 +00:00
Ilya Goncharov f6aaf9bf4a [Gradle, JS] generate typescript only if necessary 2022-10-18 14:01:29 +00:00
Ilya Goncharov f14d9679e0 [Gradle, JS] No externalsDir 2022-10-18 14:01:29 +00:00
Ilya Goncharov 5a7b4294c5 [Gradle, JS] Add typescript optionally 2022-10-18 14:01:28 +00:00
Ilya Goncharov 8363b0e9cf [Gradle, JS] No conf cache report if no root build file 2022-10-18 14:01:28 +00:00
Ilya Goncharov ef101232ed [Gradle, JS] Move session file from project 2022-10-18 14:01:28 +00:00
Ilya Goncharov 5203096dcf [Gradle, JS] Compile not depends on storeYarnLock 2022-10-18 14:01:27 +00:00
Ilya Goncharov 1f703843a8 [Gradle, JS] Fix Gradle Plugin API 2022-10-18 14:01:27 +00:00
Ilya Goncharov 8ce185aba9 [Gradle, JS] Fix recursion 2022-10-18 14:01:27 +00:00
Ilya Goncharov ccff3f5598 [Gradle, JS] Fix compilation 2022-10-18 14:01:26 +00:00
Ilya Goncharov a24d5af9c2 [Gradle, JS] Remove dukat tests 2022-10-18 14:01:26 +00:00
Ilya Goncharov c7fff95231 [JS] Warning on npm dependencies with generateExternals declaration 2022-10-18 14:01:26 +00:00
Ilya Goncharov 810bc57d16 [JS] Warning for dukat using 2022-10-18 14:01:25 +00:00
Ilya Goncharov 3a9e92b577 [Gradle, JS] Remove dukat
^KT-54445 fixed
2022-10-18 14:01:25 +00:00
Ilya Goncharov 1d97b9b936 [Gradle, JS] Remove generateExternals 2022-10-18 14:01:24 +00:00
Ilya Goncharov 5ed3c20160 [Gradle, JS] Compilation not depends on dukat 2022-10-18 14:01:24 +00:00
Ilya Goncharov 05a6a07b08 [Gradle, JS] Remove dukat integration
^KT-54445 fixed
2022-10-18 14:01:24 +00:00
Ivan Kylchik 1ce99db830 Change class loader in ir interpreter that is used to create proxy obj
#KT-54509 Fixed
2022-10-18 13:47:34 +00:00
Ilya Goncharov b76fdb2efa [JS IR] Fix js help 2022-10-18 09:59:17 +00:00
Ilya Goncharov ca8b415726 [JS IR] Change names of ir-only arguments 2022-10-18 09:59:17 +00:00
Ilya Goncharov 71011aeaef [JS IR] User's module name is with more priority than default one 2022-10-18 09:59:16 +00:00
Ilya Goncharov ec50036884 [JS IR] Change module name compiler flags 2022-10-18 09:59:16 +00:00
Yahor Berdnikau a32b2c4a3f Fix wrong context of LanguageSettings to compiler options sync
Add Native target configuration to always iterate on all native target
compilations in afterEvaluate and trigger sync of compilation
LanguageSettings to compiler options. This way afterEvaluate will be
called in the correct context.

^KT-54439 Fixed
2022-10-18 08:58:29 +00:00
Alexander Korepanov 901ebcc043 [JS IR] Add JS IR IC tests about companion properties modifications
^KT-54479 Test
2022-10-17 18:59:40 +00:00
Artem Kobzar cd87830ffa [K/JS] Generate the similar variant of newlines on different OS in the @file:JsExport tests generating task 2022-10-17 16:48:40 +00:00
Leonid Startsev f1b1837f40 Rework SerialInfo$Impl annotation implementation to be available in FIR:
- IR plugin does not use it anymore,
regular annotation instantiation feature is used
(insertion of IrConstructorCall(annotationCtorSymbol)).

- IR plugin still generates `SerialInfo$Impl` class to be compatible
with previously compiled code & libraries.

- Custom implementation over descriptors in IR plugin is removed;
plugin now delegates to the existing lowering with some tweaks.

- $Impl descriptor is removed from FE 1.0 because it is no longer needed
for IR plugin; it shouldn't be exposed to users so FIR doesn't need it either.

- Since language lowering is now used, it is possible to correctly instantiate
SerialInfo annotations with default values even if they are from other modules
and even if they were not processed by the plugin.

#KT-48733 Fixed
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1574
2022-10-17 16:10:42 +00:00
Dmitrii Gridin 3c43416042 [AA] add more tests on property accessors
^KT-54311
2022-10-17 14:59:52 +00:00
Dmitrii Gridin 6bf1cefba6 [AA] do not render redundant declarations for AbstractSymbolByPsiTest
^KT-54311
2022-10-17 14:59:52 +00:00
Dmitrii Gridin a38e1747c3 [AA] split some SymbolByPsi tests on SingleSymbolByPsi to avoid redundant declarations
^KT-54311
2022-10-17 14:59:52 +00:00
Dmitrii Gridin 804a92546c [AA] AbstractSingleSymbolByPsi: search elements by caret instead of expression
^KT-54311
2022-10-17 14:59:51 +00:00
Dmitrii Gridin 588c0bbb03 [AA] KtPsiBasedSymbolPointer: drop redundant comments
^KT-54311
2022-10-17 14:59:51 +00:00
Dmitrii Gridin f7bd79a151 [AA K2] KtFirSymbolInfoProvider: add restriction on fir under fir symbol
^KT-54311
^KT-54360
2022-10-17 14:59:51 +00:00
Dmitrii Gridin 3c9fb5db27 [AA] make consistent hasStableParameterNames for setter and getter
^KT-54311
2022-10-17 14:59:50 +00:00
Dmitrii Gridin ba7d340090 [AA] more tests on receiver annotations
^KT-54311
^KT-54385
^KT-54417
2022-10-17 14:59:50 +00:00
Dmitrii Gridin b8a64d20ac [AA] restore Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated
^KT-54311
^KT-54385
2022-10-17 14:59:50 +00:00
Dmitrii Gridin 782ff3e4ea [K2 AA] add more tests on property annotations
^KT-54311
^KT-54385
2022-10-17 14:59:49 +00:00
Dmitrii Gridin c6742aa4c7 [K2 AA] DebugSymbolRenderer: render property symbol recursively
^KT-54311
2022-10-17 14:59:49 +00:00
Dmitrii Gridin a8ded36ac4 [K2 AA] FirAnnotationValueConverter: cleanup code
^KT-54311
2022-10-17 14:59:49 +00:00
Dmitrii Gridin b15cf05e59 [K2 AA] add hack to fix symbolKind for local class
^KT-54311
^KT-54390
2022-10-17 14:59:48 +00:00
Dmitrii Gridin f7568cef5c [K2 AA] fix symbolKind for nested local classes
^KT-54311
2022-10-17 14:59:48 +00:00
Dmitrii Gridin 027899a22a [K2 AA] add missing receiverType for getter and setter
^KT-54311
2022-10-17 14:59:48 +00:00
Dmitrii Gridin afe7605649 [K1 AA] fix default getter and setter
^KT-54311
2022-10-17 14:59:47 +00:00
Dmitrii Gridin 4ee5bf178c [AA] DebugSymbolRenderer: render symbols recursively
^KT-54311
2022-10-17 14:59:47 +00:00