Dmitry Gridin
dc552c9fe3
[light classes] move facade creation logic to KotlinLightClassFactory
...
^KT-53097
2022-07-19 15:41:44 +00:00
Dmitry Gridin
9510c4876c
[light classes] introduce KotlinLightClassFactory
...
^KT-53097
2022-07-19 15:41:43 +00:00
Dmitry Gridin
47fa444792
[light classes] move descriptors from KtLightClassForSourceDeclaration to KtLightClassImpl
...
^KT-53097
2022-07-19 15:41:36 +00:00
Yahor Berdnikau
93a0cdbf97
Improve warnings and errors emitted by compiler in Gradle build
...
Make warnings and errors location clickable by using file URI scheme.
In most terminals and code editors (including IDEA) clicking on such uri
will open file at given line and offset.
^KT-51923 Fixed
2022-07-19 09:30:36 +00:00
Denis.Zharkov
f7a2889a40
FastJarHandler: Add information for exceptions thrown during CD parsing
...
^KT-52786 Related
2022-07-12 14:45:37 +00:00
Nikita Nazarov
2ab92bcb7e
Add a key to enable spilling of all variables in a suspending context
...
This commit adds a new key that will allow users to enhance their
debugging experience in suspending contexts when using the IR backend.
After the key is enabled, the following things are changed:
1. All variables in a suspending context are spilled regardless their
liveness.
2. Their LVT records are not shrunk.
3. ACONST_NULL is not spilled to dead variables.
#KT-48678 In progress
(cherry picked from commit 38d97d0621 )
2022-07-07 14:51:24 +03:00
Nikolay Krasko
c6299ee277
Revert "Add a key to enable spilling of all variables in a suspending context"
...
This reverts commit 38d97d0621 .
2022-07-05 11:04:50 +00:00
Nikita Nazarov
38d97d0621
Add a key to enable spilling of all variables in a suspending context
...
This commit adds a new key that will allow users to enhance their
debugging experience in suspending contexts when using the IR backend.
After the key is enabled, the following things are changed:
1. All variables in a suspending context are spilled regardless their
liveness.
2. Their LVT records are not shrunk.
3. ACONST_NULL is not spilled to dead variables.
#KT-48678 In progress
2022-07-02 18:29:18 +03:00
Dmitriy Novozhilov
65e240679e
[FE] Move utility of parsing plugin options to :compiler:frontend.common
...
This is needed to be able to use this utility inside FIR part of IDE plugin
2022-06-29 12:00:00 +00:00
Dmitriy Novozhilov
f587c02d38
[FE] Move ServiceLoaderLite to :compiler:frontend.common
...
This is needed to be able to use this class inside FIR part of IDE plugin
2022-06-29 12:00:00 +00:00
Dmitriy Novozhilov
c979e1edcf
[Plugins] Deprecate ComponentRegistrar
...
^KT-52665 In Progress
2022-06-29 11:59:58 +00:00
Dmitriy Novozhilov
8b42638afa
[Plugins] Introduce new API for registering compiler plugins
...
Original `ComponentRegistrar` exposes Project to its registration method,
so plugins should manually register extensions to it. To prepare for
possible unbound compiler from Project API in future new `K2ComponentRegistrar`
introduced which provides registration method without Project at all
2022-06-29 11:59:58 +00:00
Dmitriy Novozhilov
7fa459044f
[Test] Fix extracting path to standard libraries from incorrect places for external users
2022-06-29 06:41:07 +00:00
Dmitry Gridin
6e75e4a56e
Revert "Revert "[light classes] drop old light classes and backend: iteration #12 ""
...
This reverts commit 732a08f0df .
2022-06-28 17:57:35 +02:00
Dmitry Gridin
d14a71acfc
Revert "Revert "[light classes] drop old light classes and backend: iteration #11 ""
...
This reverts commit 357e15085e .
2022-06-28 17:57:34 +02:00
Dmitry Gridin
28aa47af8a
Revert "Revert "[light classes] drop old light classes and backend: iteration #10 ""
...
This reverts commit 4b3e48dc47 .
2022-06-28 17:57:34 +02:00
Dmitry Gridin
cbf9b13ef8
Revert "Revert "[light classes] drop old light classes and backend: iteration #9 ""
...
This reverts commit 38c623bc3a .
2022-06-28 17:57:33 +02:00
Dmitry Gridin
9f3a269d62
Revert "Revert "[light classes] drop old light classes and backend: iteration #8 ""
...
This reverts commit 91fa6af556 .
2022-06-28 17:57:33 +02:00
Dmitry Gridin
ac83d5fcbc
Revert "Revert "[light classes] drop old light classes and backend: iteration #7 ""
...
This reverts commit d1cde22254 .
2022-06-28 17:57:33 +02:00
Dmitry Gridin
9dcc92e394
Revert "Revert "[light classes] drop old light classes and backend: iteration #6 ""
...
This reverts commit 8db53c0ca7 .
2022-06-28 17:57:32 +02:00
Dmitry Gridin
4d43312cfe
Revert "Revert "[light classes] drop old light classes and backend: iteration #5 ""
...
This reverts commit 8f7969549b .
2022-06-28 17:57:31 +02:00
Dmitry Gridin
2eaea66a0c
Revert "Revert "[light classes] drop old light classes and backend: iteration #4 ""
...
This reverts commit 3d9a58627f .
2022-06-28 17:57:31 +02:00
Dmitry Gridin
ce183a8eeb
Revert "Revert "[light classes] drop old light classes and backend: iteration #3 ""
...
This reverts commit 074dd1c19d .
2022-06-28 17:57:30 +02:00
Dmitry Gridin
dd824aacb6
Revert "Revert "[light classes] drop old light classes and backend: iteration #2 ""
...
This reverts commit 43b4df74bc .
2022-06-28 17:57:30 +02:00
Dmitry Gridin
f10c5c28a5
Revert "Revert "[light classes] drop old light classes and backend: iteration #1 ""
...
This reverts commit 57de064251 .
2022-06-28 17:57:29 +02:00
Mikhael Bogdanov
8f60f73207
JvmDefault. Add deprecation warning for '-Xjvm-default=enable|compatibility' options
...
#KT-46329
2022-06-28 14:11:49 +02:00
Dmitry Gridin
57de064251
Revert "[light classes] drop old light classes and backend: iteration #1 "
...
This reverts commit 3cb2df9360 .
2022-06-28 13:52:11 +02:00
Dmitry Gridin
43b4df74bc
Revert "[light classes] drop old light classes and backend: iteration #2 "
...
This reverts commit 97ce502cbe .
2022-06-28 13:52:10 +02:00
Dmitry Gridin
074dd1c19d
Revert "[light classes] drop old light classes and backend: iteration #3 "
...
This reverts commit 3c711d42b3 .
2022-06-28 13:52:10 +02:00
Dmitry Gridin
3d9a58627f
Revert "[light classes] drop old light classes and backend: iteration #4 "
...
This reverts commit 9d1fe58f9d .
2022-06-28 13:52:09 +02:00
Dmitry Gridin
8f7969549b
Revert "[light classes] drop old light classes and backend: iteration #5 "
...
This reverts commit fa77c618bd .
2022-06-28 13:52:09 +02:00
Dmitry Gridin
8db53c0ca7
Revert "[light classes] drop old light classes and backend: iteration #6 "
...
This reverts commit 8aeda37d2e .
2022-06-28 13:52:08 +02:00
Dmitry Gridin
d1cde22254
Revert "[light classes] drop old light classes and backend: iteration #7 "
...
This reverts commit 545a316241 .
2022-06-28 13:52:08 +02:00
Dmitry Gridin
91fa6af556
Revert "[light classes] drop old light classes and backend: iteration #8 "
...
This reverts commit 0df6ac688a .
2022-06-28 13:52:08 +02:00
Dmitry Gridin
38c623bc3a
Revert "[light classes] drop old light classes and backend: iteration #9 "
...
This reverts commit 38378309b1 .
2022-06-28 13:52:07 +02:00
Dmitry Gridin
4b3e48dc47
Revert "[light classes] drop old light classes and backend: iteration #10 "
...
This reverts commit 10e8d4befa .
2022-06-28 13:52:07 +02:00
Dmitry Gridin
357e15085e
Revert "[light classes] drop old light classes and backend: iteration #11 "
...
This reverts commit 9d81a4abea .
2022-06-28 13:52:06 +02:00
Dmitry Gridin
732a08f0df
Revert "[light classes] drop old light classes and backend: iteration #12 "
...
This reverts commit 36d1eef6fe .
2022-06-28 13:52:06 +02:00
Dmitry Gridin
36d1eef6fe
[light classes] drop old light classes and backend: iteration #12
...
drop LightClassDataHolder
^KT-48773
2022-06-28 11:44:46 +00:00
Dmitry Gridin
9d81a4abea
[light classes] drop old light classes and backend: iteration #11
...
drop redundant builder for scripts
^KT-48773
2022-06-28 11:44:45 +00:00
Dmitry Gridin
10e8d4befa
[light classes] drop old light classes and backend: iteration #10
...
add missing is InvalidLightClassDataHolder check
^KT-48773
2022-06-28 11:44:45 +00:00
Dmitry Gridin
38378309b1
[light classes] drop old light classes and backend: iteration #9
...
drop KotlinExtraDiagnosticsProvider
^KT-48773
2022-06-28 11:44:44 +00:00
Dmitry Gridin
0df6ac688a
[light classes] drop old light classes and backend: iteration #8
...
reduce usages of KotlinTypeMapper
^KT-48773
2022-06-28 11:44:43 +00:00
Dmitry Gridin
545a316241
[light classes] drop old light classes and backend: iteration #7
...
drop StubComputationTracker
^KT-48773
2022-06-28 11:44:43 +00:00
Dmitry Gridin
8aeda37d2e
[light classes] drop old light classes and backend: iteration #6
...
move light class builder to cli and drop MemberIndex
^KT-48773
2022-06-28 11:44:42 +00:00
Dmitry Gridin
fa77c618bd
[light classes] drop old light classes and backend: iteration #5
...
drop LightClassDataHolder from LightClassGenerationSupport
^KT-48773
2022-06-28 11:44:41 +00:00
Dmitry Gridin
9d1fe58f9d
[light classes] drop old light classes and backend: iteration #4
...
move LightClassDataProvider to cli
^KT-48773
2022-06-28 11:44:41 +00:00
Dmitry Gridin
3c711d42b3
[light classes] drop old light classes and backend: iteration #3
...
introduce KotlinExtraDiagnosticsProvider
^KT-48773
2022-06-28 11:44:40 +00:00
Dmitry Gridin
97ce502cbe
[light classes] drop old light classes and backend: iteration #2
...
drop javaFileStub and fix tests
^KT-48773
2022-06-28 11:44:39 +00:00
Dmitry Gridin
3cb2df9360
[light classes] drop old light classes and backend: iteration #1
...
drop clsDelegate and related
^KT-48773
2022-06-28 11:44:38 +00:00