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
Ilya Gorbunov
988446c4b1
Update builtins dumps for open ranges
...
#KT-52932
2022-06-28 00:08:09 +00:00
Ilya Gorbunov
383e814d82
Update FIR spec test data
...
NONE_APPLICABLE instead of UNRESOLVED_REFERENCE_WRONG_RECEIVER
presumably because of the introduction of another `contains` extension overload
2022-06-28 00:08:08 +00:00
Ilya Gorbunov
7ab2f1493c
Add error() function to interpreter test helper sources
...
To compile standard library code that uses error()
2022-06-28 00:08:07 +00:00
Ilmir Usmanov
810b11b96d
Enable generic inline classes as experimental feature in 1.8
...
#KT-52994 Fixed
2022-06-27 23:48:58 +02:00
Ilmir Usmanov
f34ae686a0
JVM: Make coroutines spilling tests runtime
...
instead of bytecode text ones. Check the content of continuation
object instead of bytecode, since this is less prone to changes during
changes in coroutines codegen.
#KT-48678
2022-06-27 23:11:40 +02:00
Stanislav Erokhin
3f99e2391b
Minor: make some util functions public
...
I'm going to use it in Fe10Binding to create descriptors for special
constructions
2022-06-27 19:32:44 +00:00
Pavel Kunyavskiy
dfcf2cfa84
[K/N] Fix extracting local classes from lambda in cached inline function
...
^KT-52540
2022-06-27 14:09:27 +00:00
Dmitriy Novozhilov
e54c6eeafc
[FIR] Introduce extension for custom SAM conversions
2022-06-27 08:11:31 +00:00
Dmitriy Novozhilov
fcc5b804a8
[FIR] Add forgotten resolution of annotations on get class calls
2022-06-27 08:11:31 +00:00
mvicsokolova
8053746ae0
kotlinx.atomicfu JVM/IR compiler plugin support
...
Merge-request: KT-MR-6541
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2022-06-26 07:17:06 +00:00
Sergey Bogolepov
8e3d574913
[K/N] Check type of forward declaration in resolve
...
Fixes KT-49034
2022-06-24 23:57:12 +03:00
Mikhail Zarechenskiy
47beef16f3
Increase binary stub version for 1.7.0
...
New stub version forces reindex & reimport for JPS-based projects,
making their compiler plugin libs consisten with the bundled JPS
compiler
^KTIJ-21982
2022-06-24 15:05:18 +00:00
Ilya Kirillov
da43062a46
[FIR] do not swallow PCE
2022-06-24 10:50:31 +02:00
Denis.Zharkov
d8dad02f08
FIR: Fix internal error on SAM with not-computed return type
...
^KT-52691 Fixed
2022-06-24 08:33:22 +00:00
Mikhail Glukhikh
481607df43
FIR: support proper argument mapping for substitution overrides
...
Related to KT-52762
2022-06-23 18:18:42 +00:00
Troels Bjerre Lund
e520fb712b
[K/N] Fix general case of KT-49827
...
When loading default libraries, the code assumed that all subdirectories
of <kotlin native home>/klib/*/ corresponded to valid libraries. The bug
report only considers the case of .DS_STORE, which is generated by
Finder on MacOS, but this case has already been accounted for in the
code.
The fix filters out all subdirectories that are not stdlib and don’t have the
“org.jetbrains.kotlin” prefix.
Co-authored-by: Troels Lund <troels@google.com >
2022-06-23 10:12:38 +00:00
Ilya Gorbunov
1cfc6a8fca
Move sources of ranges to common stdlib from builtins
...
But still cherry-pick them when serializing builtins because they are
used in builtins signatures.
Merge-request: KT-MR-6488
Merged-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
2022-06-23 03:49:30 +00:00
Jinseong Jeon
b6371a5b9a
AA/FIR: differentiate dynamic type rendering
2022-06-22 20:14:39 +02:00
Artem Kobzar
ba738cbbff
feat: add ability to create nested entities inside object.
2022-06-22 11:59:13 +00:00
Pavel Mikhailovskii
3766698081
KT-52743 IR: Fix null checks in Elvis operators
2022-06-22 09:11:24 +00:00
Mikhail Zarechenskiy
f4944d80b9
[DI] Do not recreate collections in case of empty results
...
^KT-52756
2022-06-21 17:07:28 +00:00
Dmitriy Novozhilov
eb453dc96b
[FIR] Expand typealiases in OverloadConflictResolver
...
^KT-52825 Fixed
2022-06-21 14:10:38 +00:00
Dmitriy Novozhilov
b73783b693
Add test for KT-52580
2022-06-21 14:10:37 +00:00
Dmitriy Novozhilov
ed8187109a
[FIR] Fix forgotten level changes during building CFG for !!
2022-06-21 14:10:37 +00:00
Dmitriy Novozhilov
80223bd555
[FIR] Fix determination of which type is FIR type in tree generator
...
^KT-52832 Fixed
2022-06-21 14:10:36 +00:00
Dmitriy Novozhilov
a7bae6f4c4
[FE] Generate default method for ComponentRegistrar.supportsK2
...
This is needed to keep binary compatibility for existing compilers plugins
^KT-52872 Fixed
2022-06-21 14:10:35 +00:00
Victor Petukhov
9e8ef56cca
[FE 1.0] Imitate having builder inference annotation while trying resolve with a builder inference
...
^KT-52892 Fixed
2022-06-21 15:02:31 +02:00
Victor Petukhov
fa7809cd80
[FE] Remove BuilderInference annotation from tests
2022-06-21 15:01:56 +02:00
Jinseong Jeon
911963bafd
CLI: utilize JRT path split (w/o magic number)
2022-06-21 11:34:09 +02:00
Ivan Kochurkin
b67eab1eee
[FIR] Use coneTypeSafe instead of coneType in loadExperimentalities to fix YouTrack building
2022-06-21 12:30:58 +03:00
Mikhail Glukhikh
8b4ae3bd70
IR interpreter: fix f/o delegation from primitive classes
2022-06-21 07:39:04 +00:00