Dmitriy Dolovov
d094a2dcaf
Revert "[K/N] Temporary allow caches with non-default assertions mode"
...
This reverts commit b482b0e86d .
^KT-53032
2022-07-20 14:43:07 +00:00
Alexander Likhachev
40b8e3ce4b
[Gradle] Format build report path as URI
...
#KT-34464 Fixed
2022-07-20 13:29:02 +00:00
Alexander Likhachev
783f394006
[Gradle] Remove dead code of KotlinBuildReporterHandler
2022-07-20 13:29:01 +00:00
Dmitriy Novozhilov
02901aeb10
Update kotlinc.xml
2022-07-20 10:12:26 +00:00
Dmitriy Novozhilov
0ec6c49464
[Test] Remove obsolete commented tests model of idea-android plugin tests from test generator
2022-07-20 10:12:25 +00:00
Dmitriy Novozhilov
af8caae387
[KAPT] Fix formatting
2022-07-20 10:12:25 +00:00
Dmitriy Novozhilov
8b960de76a
[KAPT] Add additional test tasks for running tests on JDK 11
2022-07-20 10:12:24 +00:00
Dmitriy Novozhilov
9c41e75802
[KAPT] Migrate kapt tests to new test infrastructure
2022-07-20 10:12:24 +00:00
Dmitriy Novozhilov
fdf1b8b1c0
[KAPT] Migrate tests in kapt3-base and kapt3-cli to JUnit 5
2022-07-20 10:12:24 +00:00
Dmitriy Novozhilov
b7cc781e97
[Test] Create KtFiles with proper virtual files
...
This is needed to properly report diagnostics in KAPT3 tests, which
uses psiElement.containingFile as origin
2022-07-20 10:12:23 +00:00
Dmitriy Novozhilov
7aaecf272b
[Test] Move configuration of JS specific flags into JsEnvironmentConfigurator
2022-07-20 10:12:23 +00:00
Dmitriy Novozhilov
c249eb9d2d
[Build] Specify lombok dependency version in versions.properties
2022-07-20 10:12:22 +00:00
Dmitriy Novozhilov
b2e558a174
[CLI] Make -Xcompiler-plugin experimental and K2 only
2022-07-20 09:07:27 +00:00
Dmitriy Novozhilov
928416c9c5
[CLI] Introduce new compiler arguments for registering compiler plugins
...
With new syntax each plugin should be registered in separate argument with syntax
`-Xcompiler-plugin=classpath1,classpath2[=argument1=value1,argument2=value2]`
2022-07-20 09:07:26 +00:00
Dmitriy Novozhilov
8919703448
[Test] Extract CLI tests for plugins into separate directory
2022-07-20 09:07:26 +00:00
Dmitriy Novozhilov
0d1e802db1
[CLI] Remove deprecated properties from AbstractCliOption and CliOption
2022-07-20 09:07:25 +00:00
Dmitriy Novozhilov
5c05cf6fe1
[CLI] Cleanup and reformat CliOptions.kt
2022-07-20 09:07:25 +00:00
Andrey Uskov
449e7d3d72
Report information about compiler plugins from gradle
...
#KT-53244 Fixed
2022-07-20 06:44:01 +00:00
Ilya Gorbunov
e5902e736d
Account for potential delay inaccuracy in test
...
Sleep for slightly longer duration since the thread can be waked
a bit earlier than the specified amount of time.
2022-07-19 20:57:39 +00:00
Ilya Gorbunov
4e31f368d5
Add more info to a flaky assertion, increase wait duration
2022-07-19 20:57:39 +00:00
Svyatoslav Kuzmich
11c8c01a50
[Wasm] Update v8 shell to v10.5.207
2022-07-19 18:46:52 +02:00
Sergej Jaskiewicz
15bd101110
[JS IR] Fix sourcemap path mapping in compiler tests for Windows
2022-07-19 16:06:25 +00:00
Sergej Jaskiewicz
1241565cce
[JS IR] Adapt stepping tests for Kotlin/JS
2022-07-19 16:06:24 +00:00
Sergej Jaskiewicz
ea556ce428
[JS IR] Implement stepping tests for Kotlin/JS
...
We already have stepping tests for Kotlin/JVM.
They are helpful for testing the correctness of the generated
debugging information.
They are better than line number tests in that they allow to test the
_behavior_, not the generated data. The structure of the data may change
even if the behavior stays the same. For that reason, stepping tests
are more stable.
2022-07-19 16:06:23 +00:00
Sergej Jaskiewicz
003f846723
Make expectations in stepping tests more flexible
...
We can now write expectations in the following form:
// EXPECTATIONS [backends...] [frontends...]
Backends are specified as in the TargetBackend enum.
Frontends are specified as in the FrontendKinds object.
This will make it more suitable for supporting Kotlin/JS in stepping
tests.
For example, for expectations that match only JVM backends with the
classic frontend, we use:
// EXPECTATIONS JVM JVM_IR ClassicFrontend
2022-07-19 16:06:22 +00:00
Dmitry Gridin
651d4d8be0
[light classes] move getParentForLocalDeclaration to light-classes-base
...
^KT-53097
2022-07-19 15:42:08 +00:00
Dmitry Gridin
0e17d9b452
[light classes] extract KotlinLightClassFactory to service
...
^KT-53097
2022-07-19 15:42:07 +00:00
Dmitry Gridin
81a5b4070d
[light classes] move KtLightMethodImpl to light-classes-base module
...
^KT-53097
2022-07-19 15:42:06 +00:00
Dmitry Gridin
024c40a3fa
[light classes] move checkIsMangled to light-classes-base module
...
^KT-53097
2022-07-19 15:42:05 +00:00
Dmitry Gridin
5e36563df6
[light classes] drop light-classes from commonCompilerModules
...
^KT-53097
2022-07-19 15:42:05 +00:00
Dmitry Gridin
71018d8a6d
[light classes] replace light class dependency from analysis.symbol-light-classes to light-classes-base
...
^KT-53097
2022-07-19 15:42:04 +00:00
Dmitry Gridin
a0c55a9ab8
[light classes] move method indices to light-classes-base module
...
^KT-53097
2022-07-19 15:42:03 +00:00
Dmitry Gridin
364cc8a65e
[light classes] add mangleInternalName to light-classes-base module
...
^KT-53097
2022-07-19 15:42:03 +00:00
Dmitry Gridin
34921e451d
[light classes] move KotlinSuperTypeListBuilder to light-classes-base module
...
^KT-53097
2022-07-19 15:42:02 +00:00
Dmitry Gridin
05528a051b
[light classes] rewrite findEntry to avoid resolve and move to light-classes-base module
...
^KT-53097
2022-07-19 15:42:01 +00:00
Dmitry Gridin
2ff1c21c8c
[light classes] replace light class dependency from analysis.decompiled.light-classes-for-decompiled to light-classes-base
...
^KT-53097
2022-07-19 15:42:00 +00:00
Dmitry Gridin
35258da509
[light classes] replace light class dependency from compiler.tests-common to light-classes-base
...
^KT-53097
2022-07-19 15:42:00 +00:00
Dmitry Gridin
248811e729
[light classes] replace light class dependency from analysis.kt-references.kt-references-fe10 to light-classes-base
...
^KT-53097
2022-07-19 15:41:59 +00:00
Dmitry Gridin
807a269f09
[light classes] replace light class dependency from analysis.kt-references to light-classes-base
...
^KT-53097
2022-07-19 15:41:58 +00:00
Dmitry Gridin
a8b2d70824
[light classes] replace light class dependency from analysis.decompiled.light-classes-for-decompiled-fe10 to light-classes-base
...
^KT-53097
2022-07-19 15:41:58 +00:00
Dmitry Gridin
f1c019d805
[light classes] replace light class dependency from analysis.decompiled.decompiler-to-psi to light-classes-base
...
^KT-53097
2022-07-19 15:41:57 +00:00
Dmitry Gridin
1fffb74419
[light classes] replace light class dependency from analysis-api-fir to light-classes-base
...
^KT-53097
2022-07-19 15:41:56 +00:00
Dmitry Gridin
30533c7355
[light classes] inline invalidAccess function
...
^KT-53097
2022-07-19 15:41:55 +00:00
Dmitry Gridin
67134e9625
[light classes] move redundant test roots
...
^KT-53097
2022-07-19 15:41:55 +00:00
Dmitry Gridin
498ec27559
[light classes] ultraLightUtils: cleanup code
...
^KT-53097
2022-07-19 15:41:54 +00:00
Dmitry Gridin
f18da79577
[light classes] move KtUltraLightTypeParameter to light-classes-base module
...
^KT-53097
2022-07-19 15:41:53 +00:00
Dmitry Gridin
27922324d5
[light classes] move ClsWrapperStubPsiFactory to light-classes-base module
...
^KT-53097
2022-07-19 15:41:53 +00:00
Dmitry Gridin
fbfb5fe3b4
[light classes] move KotlinLightTypeParameterBuilder to light-classes-base module
...
^KT-53097
2022-07-19 15:41:52 +00:00
Dmitry Gridin
e75b13d120
[light classes] split KtLightAnnotationsValues file
...
^KT-53097
2022-07-19 15:41:51 +00:00
Dmitry Gridin
640752ccea
[light classes] move KtLightMemberImpl to light-classes-base module
...
^KT-53097
2022-07-19 15:41:50 +00:00