Commit Graph

93423 Commits

Author SHA1 Message Date
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
Dmitry Gridin db3ca797d9 Revert "Revert "[light classes] FakeFileForLightClass: advance language level to 1.8""
This reverts commit 11ad8020c8.
2022-06-28 17:57:17 +02:00
Artem Kobzar 133c6713ca [K/JS] fix(Interface Export): prevent structural identity between two interfaces. 2022-06-28 15:44:38 +00:00
Pavel Mikhailovskii c3c09aa95a KT-4107 Data objects 2022-06-28 16:58:20 +02:00
Ilya Chernikov 6c31dc90e4 Scripting: ignore incorrect test
see #KT-52986 for details
2022-06-28 16:21:25 +02:00
Ilya Chernikov fc5f56adc5 Scripting: restore REPL script definition
incorrectly set to default definition on switching REPL to the new infra
2022-06-28 16:21:25 +02:00
Ilya Chernikov 6e59c2e079 Scripting: fix CLI REPL error reporting behavior
discrepancy after switching to the new REPL internals was
discovered also on IJ plugin tests, so added a test emulating it.
also some test infra refactoring
2022-06-28 16:21:25 +02:00
Ilya Chernikov 8bc43917ec Scripting: switch default definition to new scheme
also correctly pass externaly provided configuration on compilation
and evaluation.
Fixes REPL evaluation with dependencies passed via compilation classpath.
2022-06-28 16:21:24 +02:00
Hung Nguyen 46c769deb6 [IC] Fix fallback logic in IncrementalCompilerRunner
The current logic works as follows:
- Try either incremental compilation or non-incremental compilation
- If the above (or any of its surrounding work) fails, fall back to
  non-incremental compilation

This means we may perform non-incremental compilation twice.

This commit will fix that logic so that we fall back to non-incremental
compilation only if *incremental compilation* fails.

A nice consequence of this change is that it also resolves the critical
bugs described at KT-52669 (which occur because the current logic is
flawed).

#KT-52669 Fixed
2022-06-28 12:47:11 +00:00
Ilya Gorbunov 771c322d21 Advance bootstrap to 1.7.20-dev-2726 2022-06-28 12:15:57 +00:00
Mikhael Bogdanov 8f60f73207 JvmDefault. Add deprecation warning for '-Xjvm-default=enable|compatibility' options
#KT-46329
2022-06-28 14:11:49 +02:00
Mikhael Bogdanov 42a465efe2 Remove deprecated methods 2022-06-28 14:11:49 +02:00
Mikhael Bogdanov 27cfe11d55 JvmDefaultWithoutCompatibility. Switch retention to source 2022-06-28 14:11:49 +02:00
Dmitry Gridin 11ad8020c8 Revert "[light classes] FakeFileForLightClass: advance language level to 1.8"
This reverts commit d42c9d833f.
2022-06-28 13:52:11 +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
Dmitry Gridin d42c9d833f [light classes] FakeFileForLightClass: advance language level to 1.8
^KT-48773
2022-06-28 11:44:38 +00:00
Ilya Kirillov 1915a1029f [Analysis API, FIR] optimize KtSymbol requests for declaration statuses
resolvedStatus is not needed for the most calls while it may be expensive to compute as it requires running declaration resolve.
2022-06-28 12:30:05 +02:00
Svyatoslav Scherbina bc39727bf1 Bump Kotlin/Native version to 1.7.20-dev-2651 2022-06-28 10:00:28 +00:00
Jinseong Jeon 20d618c0a8 AA: populate CorePackageIndex
so that annotations in package-info.java can be propagated properly
2022-06-28 11:44:41 +02:00
Yahor Berdnikau 7e537b680e Remove 'org.jetbrains.kotlin.platform.type' attribute from publication
Temporary workaround for Kotlin Gradle plugin publications until
https://youtrack.jetbrains.com/issue/KT-52987 will be implemented.

Requested by Gradle team for Gradle 7.6 compatibility.
2022-06-28 11:02:04 +02:00
Yahor Berdnikau 9b768d647c Update Gradle publish plugin to 1.0.0-rc-3 version
This should fix publishing multiple artifacts with the same hash and
remove requirement of custom action from Gradle team.
2022-06-28 10:50:00 +02:00
Vsevolod Tolstopyatov 0c8b31b9ed Clarify specification of Duration.parseIsoString
KT-52778


Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>

Merge-request: KT-MR-6556
Merged-by: Vsevolod Tolstopyatov <vsevolod.tolstopyatov@jetbrains.com>
2022-06-28 07:43:33 +00:00
Alexander Shabalin d47193d36f [K/N] Add tracking of application state to the GC scheduler.
Merge-request: KT-MR-6435
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-28 06:38:36 +00:00
Ilya Gorbunov fcfc79aa35 assertContains for OpenEndRange argument
#KT-52932
2022-06-28 05:45:47 +00:00