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
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
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
38378309b1
[light classes] drop old light classes and backend: iteration #9
...
drop KotlinExtraDiagnosticsProvider
^KT-48773
2022-06-28 11:44:44 +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
b18999be82
FIR/LC: filter out scripts for facade creation
...
^KTIJ-22016 Fixed
2022-06-20 17:38:50 +02:00
Mikhael Bogdanov
41d6f0dca4
Remove ir.tree.impl from build
2022-06-20 11:42:52 +00:00
Alexander Udalov
a52017a130
Rewrite light analysis mode test class filter
...
Instead of filtering local/synthetic classes based on ClassDescriptor
instances, do it by interpreting kotlin.Metadata. This is needed to
enable these tests for JVM IR, where descriptors are not available in
this way.
2022-06-17 16:51:06 +02:00
Alexander Udalov
65c7a7f939
Minor, remove obsolete abstract test classes
2022-06-17 16:51:05 +02:00
Nikolay Lunyak
ac1fb07102
[FIR JS] Add checkers.js
2022-06-02 13:47:28 +00:00
Ivan Kylchik
f3252334b2
Move most of ir utils from backend.common to ir.tree
2022-05-18 21:20:03 +03:00
Simon Ogorodnik
58885a1b07
KT-52217 Rename 'use-fir' to 'use-k2', update message
2022-04-28 15:42:42 +00:00
Aleksei.Cherepanov
3d8f140d6b
[JPS] Fix incremental build after changing Java enum used in Kotlin when
...
EnumWhenTracker implemented for tracking changed java enum class items, that used in kotlin when expression.
#KT-47824 Fixed
2022-04-19 18:39:41 +00:00
Denis.Zharkov
55159eba45
FIR: Do not verify descriptors consistency for FIR-based IR functions
2022-04-06 16:05:40 +00:00
Ilya Chernikov
03cbfea737
FIR LT: Introduce source file abstraction, carry it from parsing to IR
...
along with source lines mapping, allows to "emulate" usage of the
PSI files which allows to extract source file and line mapping info
on every stage from source element.
It makes sense to use this mapping for the error reporting too.
2022-03-30 08:34:30 +00:00
Ilya Chernikov
a08e70ae5c
FIR CLI: fix java sources search scope usage
2022-03-30 08:33:27 +00:00
Ilya Chernikov
f89765eb33
Make JDK classpath roots configuration explicit...
...
instead of relying on the "configuration files" parameter.
(in the process of migration from KotlinCoreEnvironment).
2022-03-30 08:32:56 +00:00
Ilya Chernikov
275135a1b2
FIR: extend cli pipeline with incremental compilation logic
...
use it in the IncrementalCompilationRunner
2022-03-30 08:31:10 +00:00
Ilya Chernikov
12d49c2cd8
FIR: new cli pipeline with LightTree support
2022-03-30 08:29:47 +00:00
Victor Petukhov
b5933c70e2
[FE 1.0] Refactor error utils: split error entities and introduce error type and error scope kinds
2022-03-23 21:13:33 +00:00
Mikhail Glukhikh
9aaf7b7d24
FIR: drop pluginPhase special parameter
2022-03-10 20:42:40 +00:00
Dmitriy Novozhilov
44bfb6fde8
[FIR] Don't register FirJavaElementFinder for common session
2022-02-18 17:44:40 +03:00
Victor Petukhov
5c8ca0ca9b
[Compiler CLI] Use reading language version settings from environment only if the resource is presented or flag is set
2022-02-16 18:41:51 +03:00
Victor Petukhov
683a3e74a0
[Compiler CLI] Implement reading language version settings from environment variable
...
^KT-51306 Fixed
2022-02-16 18:41:50 +03:00
Dmitriy Novozhilov
0bd3e8f418
[FIR] Rename ConeClassErrorType to ConeErrorType, drop ConeKotlinErrorType alias
2022-02-07 13:36:33 +03:00
Georgy Bronnikov
6a3a375372
IR: pass DescriptorByIdSignatureFinder as parameter to DeclarationStubGeneratorimpl
...
This breaks dependency between serialization.common and psi2ir modules.
2022-01-27 01:02:23 +03:00
Georgy Bronnikov
3cc883cf7b
IR: use DescriptorBySignatureFinder in DeclarationStubGenerator
...
Duplicating code that was used for the same purpose in
DeclarationStubGenerator is removed.
2022-01-27 01:02:14 +03:00
Dmitriy Dolovov
7df68af664
[IR, Native] KLIB ABI tests: backup but don't overwrite artifacts
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
9096725d1d
[IR, JS] KLIB ABI tests: separate testing logic so that it can be reused in non-JS tests
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
d64a720749
[IR, JS] KLIB ABI tests: create KotlinCoreEnvironment in setUp()
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
d80572dac8
[IR, JS] KLIB ABI tests: create and clean up build directory with setUp()/tearDown()
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
703fd8539d
[IR, JS] KLIB ABI tests: don't create unnecessary disposable
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Novozhilov
dd953908df
[FE 1.0] Add compiler flag for rendering internal diagnostic names in error messages
2022-01-23 11:14:56 +03:00
Dmitriy Novozhilov
50f6825775
[FE 1.0] Cleanup code of ControlFlowProcessor
...
- Always pass not nullable language version settings
- Fix warnings and style
- Remove redundant pseudocode utils
2022-01-14 14:26:53 +03:00
Irene Dea
19bfc43bee
Fixes and refactors
2022-01-08 15:25:07 +03:00
Roman Artemev
353bfe9018
[JS IR] Cleanup pir IC code
2021-12-24 16:50:40 +03:00
Sergej Jaskiewicz
3fb1096c18
[JS IR] Support IR dump in JS tests
2021-12-22 17:55:33 +00:00
Roman Artemev
e17f121b23
[JS REPL] Extract JS script/repl parts into separate module
...
- don't load js evaluation plugin in CLI compiler
2021-12-21 04:15:11 +03:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Vyacheslav Gerasimov
bc2f0936bd
Build: Rename commonDep -> commonDependency
2021-12-16 21:48:19 +03:00
Roman Artemev
fb84287ae0
[KLIB] Compute relative path instead of absolute if relative base is provided
...
- normalize path if required
- path it in JS/Native
- path null for JVM (temporary)
- fix build
2021-12-15 21:13:52 +03:00
Dmitriy Dolovov
60dcafcf43
[Test] TestGen: Use canonical class names for generated imports
...
This is needed to have correct class names for inner/nested classes. For example, to have `import java.util.AbstractMap.SimpleEntry` instead of `import java.util.AbstractMap$SimpleEntry`.
2021-12-14 13:48:23 +03:00
Ivan Kylchik
b131c52889
Drop all usages of WITH_RUNTIME directive
2021-12-13 18:07:11 +03:00
Evgeniy.Zhelenskiy
cb4ec932d7
[Tests] Introduce replacing source transformer
2021-12-10 18:19:17 +03:00
Evgeniy.Zhelenskiy
2874462e3a
[Tests] Introduce transformers functions object
2021-12-10 18:19:16 +03:00
Evgeniy.Zhelenskiy
af73034235
[Tests] Introduce runTest with transformer to old testing framework
2021-12-10 18:19:16 +03:00
Evgeniy.Zhelenskiy
9b196c738f
[Tests] Generify transforming tests method model
2021-12-10 18:19:16 +03:00
Evgeniy.Zhelenskiy
e62c6e3eac
[Tests] All tests correct generation
2021-12-10 18:19:16 +03:00
Evgeniy.Zhelenskiy
f92290dfdf
[Tests] Generate runTest with transformer parameter + example
2021-12-10 18:19:15 +03:00